[Mono-list] Re: Mono.Posix.Syscall

Miguel de Icaza miguel@ximian.com
Fri, 17 Sep 2004 22:12:51 -0400


> >    I think I would like to move these classes into a different class,
> > not Syscall, as these are not syscalls.
> Is there really a difference?  We're hardly going for a complete library 
> here.

Well, but it is only for lack of time, not a design requirement.

For instance, I want to have Streams layered on top of native file
descriptors available there.   Maybe a PosixStream that can expose a few
methods like: blocking/non-blocking mode and expose methods to cope with

We are hardly done.

> It might be more interesting to start over with a library of wrapped 
> Linux library functions in C# style, with ThisTypeOfCase and exceptions 
> thrown if the native call returned an error code.  Something 
> autogenerated...

Well, the Syscall namespace kept the libc names, so am fine with that,
but helper routines probably should go in something with helper classes
and cuter names (like the Pw stuff)