=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/pwd.h,v retrieving revision 1.18 retrieving revision 1.19 diff -c -r1.18 -r1.19 *** src/include/pwd.h 2005/12/13 00:35:22 1.18 --- src/include/pwd.h 2008/06/24 14:31:59 1.19 *************** *** 1,4 **** ! /* $OpenBSD: pwd.h,v 1.18 2005/12/13 00:35:22 millert Exp $ */ /* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: pwd.h,v 1.19 2008/06/24 14:31:59 deraadt Exp $ */ /* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */ /*- *************** *** 93,98 **** --- 93,102 ---- __BEGIN_DECLS struct passwd *getpwuid(uid_t); struct passwd *getpwnam(const char *); + int getpwnam_r(const char *, struct passwd *, char *, size_t, + struct passwd **result); + int getpwuid_r(uid_t uid, struct passwd *, char *buf, size_t buflen, + struct passwd **result); #if __BSD_VISIBLE || __XPG_VISIBLE struct passwd *getpwent(void); void setpwent(void);