(linux系统)用户数据信息获取getpwuid、getspnam_pwd.getpwuid windows-CSDN博客

网站介绍:根据用户名区验证用户名密码是否正确函数说明The getpwnam() and getpwuid() functions return a pointer to a passwd structure, or NULL if the matching entry is not found or an error occurs. If an error occurs, errno is set appropriately. If one wantsto check errno aft_pwd.getpwuid windows