Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site psivax.UUCP Path: utzoo!watmath!clyde!cbosgd!cbdkc1!desoto!packard!hoxna!houxm!vax135!cornell!uw-beaver!tektronix!hplabs!sdcrdcf!psivax!friesen From: friesen@psivax.UUCP (Stanley Friesen) Newsgroups: net.lang.c Subject: Re: integer types, sys calls, and stdio Message-ID: <294@psivax.UUCP> Date: Fri, 1-Feb-85 12:54:03 EST Article-I.D.: psivax.294 Posted: Fri Feb 1 12:54:03 1985 Date-Received: Tue, 5-Feb-85 04:45:02 EST References: <1997@mordor.UUCP> <631@turtlevax.UUCP> <550@mako.UUCP> <22@mordor.UUCP> Reply-To: friesen@psivax.UUCP (Stanley friesen) Distribution: net Organization: Pacesetter Systems Inc., Sylmar, CA Lines: 38 Summary: Whitesmith has come up with a series of defined types which can be used to increase portibility if they are used regularly. They are defined in an include file "std.h" which can be adjusted to each machines oddities. The types, and intended meanings are: LONG a 32 bit signed integer(quantity) ULONG a 32 bit unsigned quantity LBITS a 32 bit set(i.e to be used as a set of individual bits) COUNT a 16 bit signed quantity UCOUNT a 16 bit unsigned quantity BITS 16 individual bits TEXT a byte for holding actual characters TINY an 8 bit signed quantity UTINY an 8 bit unsigned quantity TBITS 8 individual bits METACH an extended byte to hold augmented characters ARGINT an indefinate integer type for parameters VOID generic function type BYTES unsigned quatity sufficient to hold a 'sizeof' result FILE a quanttiy to hold file numbers FIO a structure for buffered I/O calls The only problem with this is the incompatibility with stdio caused by the last items, especially since the FIO type is not conformable with the stdio FILE type. I have there for modified the std.h that I use to make FIO the equivalent of stdio FILE, thus allowing me to use that package. -- Sarima (Stanley Friesen) {trwrb|allegra|cbosgd|hplabs|ihnp4|aero!uscvax!akgua}!sdcrdcf!psivax!friesen or quad1!psivax!friesen