lfc_entergrpmap man page

LFC_ENTERGRPMAP(3) LFC Library Functions LFC_ENTERGRPMAP(3)

[1mNAME[0m
lfc_entergrpmap - define a new group entry in Virtual Id table

[1mSYNOPSIS[0m
[1m#include <sys/types.h>[0m
[1m#include "lfc_api.h"[0m

[1mint lfc_entergrpmap (gid_t [4m[22mgid[24m[1m, char *[4m[22mgroupname[24m[1m)[0m

[1mDESCRIPTION[0m
[1mlfc_entergrpmap [22mdefines a new group entry in Virtual Id table.

[4mgid[24m specifies the Virtual Group Id. If the value is -1, the next
available id is allocated.

[4mgroupname[0m
specifies the group name.

This function requires ADMIN privilege.

[1mRETURN VALUE[0m
This routine returns 0 if the operation was successful or -1 if the
operation failed. In the latter case, [1mserrno [22mis set appropriately.

[1mERRORS[0m
[1mEACCES [22mThe caller does not have ADMIN privilege.

[1mEFAULT [4m[22mgroupname[24m is a NULL pointer.

[1mEEXIST [22mGroup exists already.

[1mEINVAL [22mThe length of [4mgroupname[24m exceeds 255.

[1mSENOSHOST [22mHost unknown.

[1mSENOSSERV [22mService unknown.

[1mSECOMERR [22mCommunication error.

[1mENSNACT [22mName server is not running or is being shutdown.

LFC $Date: 2006/01/13 16:22:46 $ LFC_ENTERGRPMAP(3)

Info