[Mono-list] Mono.Posix.Syscall

Todd Berman tberman@off.net
Wed, 15 Sep 2004 09:54:23 -0700


On Wed, 2004-09-15 at 11:32 -0400, Loren Bandiera wrote:
> > This seems wrong to me, since getpwent_r isn't a syscall
> > (see /usr/include/linux/syscalls.h). But then, neither are some of the
> > other things already in Mono.Posix.Syscall, and "syscall" isn't even a
> > POSIX concept anyway. Ugh. Bad namespace. No biscuit.
> >
> > Why is the "Syscall" namespace there anyway? Couldn't everything just be
> > in "Mono.Posix"?
> >
> 

Syscall is the class, Mono.Posix is the namespace.

> I don't know the history behind it, but if there is an agreement to change
> Syscall, I'd be willing to change my code to be in Mono.Posix.  I was just
> trying to conform to the existing code.

It might make sense to move the stuff to a Posix class inside the Mono
namespace, but that will break all existing code that has 'using
Mono.Posix' i think.

--Todd