summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/getgroups.c
blob: 6bf58a70feb6eb1495497b13233adc415ea9d2f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
 *  @file
 *
 *  @brief Get Supplementary IDs
 *  @ingroup libcsupport
 */

#if HAVE_CONFIG_H
#include "config.h"
#endif

#include <sys/types.h>
#include <unistd.h>

/**
 *  4.2.3 Get Supplementary IDs, P1003.1b-1993, p. 86
 */
int getgroups(
  int    gidsetsize __attribute__((unused)),
  gid_t  grouplist[] __attribute__((unused))
)
{
  return 0;  /* no supplemental group ids */
}