error: 'struct passwd' has no member named 'pw_comment'
2012-06-05 23:38
876 查看
http://www.sics.se/man2html/getpwent.3v.html
getpwent(), getpwuid() and getpwnam() each return a pointer to an object with the following structure containing the fields of a line in the password file.
Each line in the file contains a passwdstructure, declared in the <pwd.h> header file:
getpwent(), getpwuid() and getpwnam() each return a pointer to an object with the following structure containing the fields of a line in the password file.
Each line in the file contains a passwdstructure, declared in the <pwd.h> header file:
struct passwd { char *pw_name; char *pw_passwd; uid_t pw_uid; gid_t pw_gid; int pw_quota; char *pw_comment; char *pw_gecos; char *pw_dir; char *pw_shell; }; struct passwd *getpwent(), *getpwuid(), *getpwnam();
相关文章推荐
- VMware 共享文件夹 error: ‘struct dentry’ has no member named ‘d_alias’
- error: 'struct proc_dir_entry' has no member named 'owner'的解决方法
- php5.4.26 安装出现 error: ‘struct gdIOCtx’ has no member named ‘data’
- error: ‘struct hostent’ has no member named ‘h_addr’
- error: ‘struct dentry’ has no member named ‘d_count’
- Android之error: 'const struct JNINativeInterface' has no member named 'callVoidMethod'
- error: ‘struct device’ has no member named ‘bus_id’
- error: ‘struct hostent’ has no member named ‘h_addr’
- 虚拟机安装vmtools 共享文件夹失败 错误:error: ‘struct dentry’ has no member named ‘d_alias’
- error: ‘struct device’ has no member named ‘bus_id’
- php5.4.26 安装出现 error: ‘struct gdIOCtx’ has no member named ‘data’
- error: 'struct proc_dir_entry' has no member named 'owner'的解决方法
- 编译驱动时error: ‘struct file’ has no member named ‘f_dentry’
- ‘struct net_device’ has no member named ‘trans_start’ ubuntu16.04
- ubuntu-13.10安装vmware tools报struct dentry’ has no member named ‘d_count错,修正方法
- error: ‘class QApplication’ has no member named ‘setMainWidget’
- 移植2.6.31遇到的问题(1):'struct uart_info' has no member named 'tty'
- ushare编译之 ‘struct sockaddr_storage’ has no member named ‘s_addr’
- 移植2.6.31遇到的问题(2):'struct device' has no member named 'bus_id'
- Qt: error: 'class QString' has no member named 'toAscii'(class QChar)