* Authors:
* Jonathan Pryor (jonpryor@vt.edu)
*
- * Copyright (C) 2004 Jonathan Pryor
+ * Copyright (C) 2004-2005 Jonathan Pryor
*/
#include <pwd.h>
}
#endif /* ndef HAVE_FGETPWENT */
+int
+Mono_Posix_Syscall_setpwent (void)
+{
+ errno = 0;
+ setpwent ();
+ return errno == 0 ? 0 : -1;
+}
+
+int
+Mono_Posix_Syscall_endpwent (void)
+{
+ errno = 0;
+ endpwent ();
+ return errno == 0 ? 0 : -1;
+}
+
G_END_DECLS
/*