summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 21:06:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 21:06:34 +0000
commitbde9d66965be4c90d5a82612a826e08f1d5d2bc8 (patch)
treede6ff37877006bc141508f1bc41d10e891f49102 /include
parent631aaf3653cde5137208fc5d190385fb0f082b81 (diff)
proto getgrgid_r and getgrnam_r
Diffstat (limited to 'include')
-rw-r--r--include/grp.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/grp.h b/include/grp.h
index 16737846c40..5197d44cef9 100644
--- a/include/grp.h
+++ b/include/grp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: grp.h,v 1.6 2003/06/02 19:34:12 millert Exp $ */
+/* $OpenBSD: grp.h,v 1.7 2003/06/25 21:06:33 deraadt Exp $ */
/* $NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ */
/*-
@@ -56,7 +56,11 @@ struct group {
__BEGIN_DECLS
struct group *getgrgid(gid_t);
+int getgrgid_r(gid_t, struct group *, char *,
+ size_t, struct group **);
struct group *getgrnam(const char *);
+int getgrnam_r(const char *, struct group *, char *,
+ size_t, struct group **);
#ifndef _POSIX_SOURCE
struct group *getgrent(void);
void setgrent(void);