[Mono-list] Mono.Posix.Syscall.passwd patch

Joe Shaw joeshaw@novell.com
Tue, 14 Sep 2004 18:45:33 -0400


On Tue, 2004-09-14 at 18:40 -0400, Loren Bandiera wrote:
> Here is my patch for adding a wrapper for getpwnam(3) to
> Mono.Posix.Syscall.  I tried to model it after stat().
>
> result = Syscall.passwd (username, out passwd);

My feeling is that you should keep the same name as the syscall, as it's
supposed to be a mapping to the POSIX APIs.

Joe