xref: /netbsd/tools/compat/setpassent.c (revision 6550d01e)
1 /*	$NetBSD: setpassent.c,v 1.4 2003/10/27 00:12:43 lukem Exp $	*/
2 
3 #include "nbtool_config.h"
4 
5 #if !HAVE_SETPASSENT || !HAVE_DECL_SETPASSENT
6 #include <pwd.h>
7 
8 int setpassent(int stayopen) {
9 	setpwent();
10 	return 1;
11 }
12 #endif
13