- 链接地址:https://blog.csdn.net/zxy131072/article/details/108385062
- 链接标题:Linux C中 getspnam crypt函数使用_strcmp crypt-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8443
一定要使用root权限运行此程序编译时加上 -lcrypt 选项#include <stdio.h>#include <sys/types.h>#include <fcntl.h>#include <shadow.h>#include <unistd.h>#include <string.h>#include <crypt.h>#define _XOPEN_SOURCE int main(int a_strcmp crypt
版权声明:本文发布于特牛网址导航 内容均来源于互联网 如有侵权联系删除
标签:strcmp crypt