Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!usc!rutgers!njin!princeton!udel!mmdf From: nicolas@cli52or.edf.fr Newsgroups: comp.os.minix Subject: Re: use only short and long (not int) in struct message Message-ID: <41241@nigel.ee.udel.edu> Date: 9 Jan 91 15:41:05 GMT Sender: mmdf@ee.udel.edu Lines: 27 > > HBO043%DJUKFA11.BITNET@cunyvm.cuny.edu (Christoph van Wuellen) writes: > > >If struct messages contains only short and long (no 'int'), > >various parts of the system (user code, FS, MM, Kernel etc) can > >communicate irrespective of wether they are compiled in 16-bit or > >32-bit mode. > > Why include the assumption that short == 16 bits and long == 32 bits? > Please use something like int16 and int32 when you mean that. > This will save you when using a machine where short=16, int=32 and long=64 bits. > > These names should be typedef'ed somewhere. > > Comments? > > Klamer > > -- > Klamer Schutte > Faculty of electrical engineering -- University of Twente, The Netherlands > klamer@mi.eltn.utwente.nl {backbone}!mcsun!utrcu1!utep!utelmi01!klamer > How 'long' can be 64 bits ? Are you speaking of a dialect of C ? Perhaps D .........