getpwnam函数

Searching…

www.man7.org

getpwnam (3) — Linux manual page - man7.org

The getpwnam_r () and getpwuid_r () functions obtain the same information as getpwnam () and getpwuid (), but store the retrieved passwd structure in the space pointed to by pwd. The string fields pointed to by the me...

wizardforcel.gitbooks.io

getpwnam | Linux C API 参考手册

getpwnam 从密码文件中取得指定账号的数据 相关函数 getpw,fgetpwent,getpwent,getpwuid 表头文件 #include #include 定义函数 struct passwd *getpwnam(const char *name); 函数说明 getpwnam ()用来逐一搜索参数name 指定的账号名称,找到时便将该用户的数据以passwd结构返回。

docs.oldtimes.me

C语言getpwnam ()函数:从密码文件中取得指定账号的数据

定义函数:struct passwd * getpwnam (const char * name); 函数说明:getpwnam ()用来逐一搜索参数name 指定的账号名称, 找到时便将该用户的数据以passwd 结构返回。 passwd 结构请参考getpwent ()。 返回值:返回 passwd 结构数据, 如果返回NULL 则表示已无数据, 或有错误发生. 范例

man.archlinux.org

getpwnam (3) — Arch manual pages

The getpwnam_r () and getpwuid_r () functions obtain the same information as getpwnam () and getpwuid (), but store the retrieved passwd structure in the space pointed to by pwd.

pubs.opengroup.org

getpwnam - Open Group

The getpwnam_r () function shall update the passwd structure pointed to by pwd and store a pointer to that structure at the location pointed to by result. The structure shall contain an entry from the user database wi...

www.mankier.com

getpwnam: get password file entry | Man Page | Library ...

The getpwnam () function returns a pointer to a structure containing the broken-out fields of the record in the password database (e.g., the local password file /etc/passwd, NIS, and LDAP) that matches the username name.

man.he.net

getpwnam

DESCRIPTION The getpwnam() function returns a pointer to a structure containing the broken-out fields of the record in the password database (e.g., the lo- cal password file /etc/passwd, NIS, and LDAP) that matches th...

www.man7.org

getpwnam (3p) — Linux manual page - man7.org

GETPWNAM(3P) POSIX Programmer's Manual GETPWNAM(3P) PROLOG top This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual p...