Browse Source

proto getgrgid_r and getgrnam_r

OPENBSD_3_4
deraadt 21 years ago
parent
commit
9ebc81f93f
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      src/include/grp.h

+ 5
- 1
src/include/grp.h View File

@ -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 $ */ /* $NetBSD: grp.h,v 1.7 1995/04/29 05:30:40 cgd Exp $ */
/*- /*-
@ -56,7 +56,11 @@ struct group {
__BEGIN_DECLS __BEGIN_DECLS
struct group *getgrgid(gid_t); struct group *getgrgid(gid_t);
int getgrgid_r(gid_t, struct group *, char *,
size_t, struct group **);
struct group *getgrnam(const char *); struct group *getgrnam(const char *);
int getgrnam_r(const char *, struct group *, char *,
size_t, struct group **);
#ifndef _POSIX_SOURCE #ifndef _POSIX_SOURCE
struct group *getgrent(void); struct group *getgrent(void);
void setgrent(void); void setgrent(void);


Loading…
Cancel
Save