SYNOPSIS
#include <grp.h>
char *group_from_gid(gid_t gid, int nogroup);
DESCRIPTION
The
PARAMETERS
- gid
-
Is the gid for which group name is to be obtained.
- nogroup
-
Indicates what to do if gid is not associated with a group name.
RETURN VALUES
Returns the group name associated with gid or ASCII representation of gid or NULL.
CONFORMANCE
4.4BSD.
MULTITHREAD SAFETY LEVEL
Unsafe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
getgrgid()
MKS Toolkit 9.3 Documentation Build 6.