[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SCIIBIN problems



On Mon, 21 Nov 1994, David Empson wrote:

> In article <3ae1ti$q7a@hopi.dtcc.edu> you write:
> > I have d/l copy after copy of SCIIBIN and still have been unable to get 
> > it to work.  I am on a DG/UX system.  Could this be the problem?
> 
> Quite possibly.  Do you know what size the DG/UX C compiler uses for
> the types 'char', 'int' and 'long int'?
> 
> The source code claims that it expects 'int' to be at least 16 bits,
> and 'long' to be at least 32 bits.  I haven't looked through it to
> verify that these are the only requirements.
> 
> One possible problem is if the DG doesn't have 8-bit bytes (e.g.
> 'char' is 9 bits).

A byte is 8 bits, no if's and's or but's. 
Our systems allocate long int and int as 4 bytes.  Most Mainframes do 
allocate int and long int the same.  The PC's have 2 bytes int's though!
Any more suggestions?


Danny McCoy (root@microbbs.fnet.org)
Delaware Technical and Community College
ITV studio technician
Sysop--The Micro BBS--APPLE/MAC/IBM (609) 299-0374