mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
Formerly unix/sysv/irix4/__getgrps.c.~2~
This commit is contained in:
parent
95e37139f0
commit
fe35453a7a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user