[Mono-devel-list] Mono.Posix-OEE 0.1
Jonathan Pryor
jonpryor at vt.edu
Thu Sep 30 19:48:49 EDT 2004
On Thu, 2004-09-30 at 10:16, Dan Winship wrote:
> > 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.
So much for my hope that the POSIX standards were sane. <sigh>
> > What's the best way to directly set `errno'?
>
> errno = 0;
Not quite what I was after. I was more interested in what/where the
managed version should be. I'll probably use add an
Errno.SetLastError() method, and leave it at that.
- Jon
More information about the Mono-devel-list
mailing list