Back to index

glibc  2.9
Functions
getgroups.c File Reference
#include <errno.h>
#include <stddef.h>
#include <unistd.h>
#include <sys/types.h>
#include <limits.h>
#include <stub-tag.h>

Go to the source code of this file.

Functions

int __getgroups (int size, gid_t *list)
 stub_warning (getgroups)

Function Documentation

int __getgroups ( int  size,
gid_t list 
)

Definition at line 30 of file getgroups.c.

{
#if defined (NGROUPS_MAX) && NGROUPS_MAX == 0
  /* The system has no supplementary groups.  */
  return 0;
#endif

  __set_errno (ENOSYS);
  return -1;
}