Formerly unix/sysv/irix4/__getgrps.c.~2~

This commit is contained in:
Roland McGrath 1994-02-24 23:55:30 +00:00
parent 95e37139f0
commit fe35453a7a

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1992 Free Software Foundation, Inc.
/* Copyright (C) 1994 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -21,9 +21,11 @@ Cambridge, MA 02139, USA. */
#include <sys/types.h>
#include <grp.h>
extern int __syssgi __P ((int, ...));
/* Set the group set for the current user to GROUPS (N of them). */
int
DEFUN(getgroups, (n, groups), size_t n AND gid_t *groups)
{
return syssgi(SGI_GETGROUPS, n, groups);
return __syssgi (SGI_GETGROUPS, n, groups);
}