[Mono-devel-list] Mono.Posix-OEE 0.1
Dan Winship
danw at novell.com
Thu Sep 30 10:16:10 EDT 2004
On Wed, 2004-09-29 at 22:43 -0400, Jonathan Pryor wrote:
> The logic used is that "long" is assumed to change size between
> platforms (32-bit or 64-bit), but "int" will always be 32-bits.
> Hopefully this is a sane assumption.
It is. Google for "ILP64" for some references, but basically, the only
platform where ints are 64-bit is the Cray.
> As mentioned in my last email, functions are placed in classes named
> after the header file they appear in. So open(2) is in the Fcntl class.
Ew. I suppose it's consistent, but it's goofy to have open and close be
in different classes.
> What's the best way to directly set `errno'?
errno = 0;
-- Dan
More information about the Mono-devel-list
mailing list