lfc_rmgrpmap man page

LFC_RMGRPMAP(3)              LFC Library Functions             LFC_RMGRPMAP(3)

      lfc_rmgrpmap  -  suppress  group entry corresponding to a given virtual
      gid or group name

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

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

      [1mlfc_rmgrpmap [22msuppresses the group entry corresponding to a  given  vir-
      tual  gid or group name.  If both are specified, they must point at the
      same entry.

      [4mgid[24m    specifies the Virtual Group Id.

             specifies the group name.

      This function requires ADMIN privilege.

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

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

      [1mEINVAL       [22mThis group does not exist in the internal mapping table or
                   the length of [4mgroupname[24m exceeds 255 or [4mgid[24m  and  [4mgroupname[0m
                   do not point at the same entry.

      [1mSENOSHOST    [22mHost unknown.

      [1mSENOSSERV    [22mService unknown.

      [1mSECOMERR     [22mCommunication error.

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

LFC                      $Date: 2006/01/12 16:29:33 $          LFC_RMGRPMAP(3)