* lib/prototypes.h, libmisc/getgr_nam_gid.c: getgr_nam_gid()
returns an allocated structure.
This commit is contained in:
1 parent
745bcb5406
commit
5f37d13405
3 files changed
+7
-2
No files matched your search
@@ -44,7 +44,7 @@
|
||||
* The string may be a valid GID or a valid groupname.
|
||||
* If the group does not exist on the system, NULL is returned.
|
||||
*/
|
||||
extern /*@null@*/struct group *getgr_nam_gid (/*@null@*/const char *grname)
|
||||
extern /*@only@*//*@null@*/struct group *getgr_nam_gid (/*@null@*/const char *grname)
|
||||
{
|
||||
long long int gid;
|
||||
char *endptr;
|
||||
|
||||
Reference in new issue
Block a user