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
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
getgrgid()
PTC MKS Toolkit 10.5 Documentation Build 40.