Skip to content

Latest commit

 

History

History
112 lines (79 loc) · 3.06 KB

userdb.asc

File metadata and controls

112 lines (79 loc) · 3.06 KB

userdb

endgrent

void endgrent()
Defines: pwent munmap
../src/userdb/endgrent.c l.4 manpage: endgrent

endpwent

void endpwent()
Defines: pwent munmap
../src/userdb/endpwent.c l.4 manpage: endpwent

getgrent

struct group* getgrent()
Defines: userdb pwent open
../src/userdb/getgrent.c l.4 manpage: getgrent

getgrgid

struct group getgrgid(gid_t gid)
*Defines:
token_i globals close grent pwent setgrent userdb write open token_s mmap fstat

get the group entry of the group "gid".
 the last result is cached, multiple calls with the same
 name will return the cached result.
getgrnam

struct group getgrnam(const char name)
Defines: token_i globals grent close pwent setgrent userdb write open token_s mmap fstat

get the group entry of the group "name".
 the last result is cached, multiple calls with the same
 name will return the cached result.
getpwent

struct passwd* getpwent()
Defines: userdb open
../src/userdb/getpwent.c l.4 manpage: getpwent

getpwnam

struct passwd getpwnam(const char name)
Defines: token_i globals close pwent write open token_s mmap fstat

get the passwd entry of the user "name".
 the last result is cached, multiple calls with the same
 name will return the cached result.
getpwuid

struct passwd getpwuid(uid_t uid)
*Defines:
token_s write open mmap token_i passwdfile_open pwent setpwent

get the passwd entry of the user with uid.
 the last result is cached, multiple calls with the same
 uid will return the cached result.
max_groupmembers

#ifndef mini_max_groupmembers

The maximum number of users,
 which are within a group.
 used for the allocation of the array gr_mem.
 default: 64
setgrent

void setgrent()
../src/userdb/setgrent.c l.3 manpage: setgrent

setpwent

void setpwent()
../src/userdb/setpwent.c l.3 manpage: setpwent