1DPNS_ENTERGRPMAP(3)          DPNS  Library  Functions         DP‐
2NS_ENTERGRPMAP(3)
3
4
5
6[1mNAME[0m
7       dpns_entergrpmap ‐ define a new group entry in Virtual  Id
8table
9
10[1mSYNOPSIS[0m
11       [1m#include <sys/types.h>[0m
12       [1m#include "dpns_api.h"[0m
13
14       [1mint  dpns_entergrpmap  (gid_t  [4m[22mgid[24m[1m,  char
15*[4m[22mgroupname[24m[1m)[0m
16
17[1mDESCRIPTION[0m
18       [1mdpns_entergrpmap [22mdefines a new group entry in  Vir‐
19tual Id table.
20
21       [4mgid[24m     specifies   the  Virtual  Group Id.  If the
22value is ‐1, the next
23              available id is allocated.
24
25       [4mgroupname[0m
26              specifies the group name.
27
28       This function requires ADMIN privilege.
29
30[1mRETURN VALUE[0m
31       This routine returns 0 if the operation was successful  or
32‐1  if  the
33       operation failed. In the latter case, [1mserrno [22mis set
34appropriately.
35
36[1mERRORS[0m
37       [1mEACCES       [22mThe caller does not have ADMIN  privi‐
38lege.
39
40       [1mEFAULT       [4m[22mgroupname[24m is a NULL pointer.
41
42       [1mEEXIST       [22mGroup exists already.
43
44       [1mEINVAL       [22mThe length of [4mgroupname[24m exceeds
45255.
46
47       [1mSENOSHOST    [22mHost unknown.
48
49       [1mSENOSSERV    [22mService unknown.
50
51       [1mSECOMERR     [22mCommunication error.
52
53       [1mENSNACT      [22mName server is not running or is being
54shutdown.
55
56
57
58DPNS                      $Date:  2006/01/13  16:22:46 $      DP‐
59NS_ENTERGRPMAP(3)
60
61
62
63
64
65
66
Impressum