- 博客(0)
- 资源 (1)
空空如也
tcp ip网络编程unix
关于TCP、IP的编成,UNIX,#include <sys/types.h>
#include <pwd.h>
#include "ourhdr.h"
int
main(void) /* 44BSD version */
{
struct passwd *ptr;
if ( (ptr = getpwnam("stevens")) == NULL)
err_sys("getpwnam error");
printf("pw_passwd = %s\n",
ptr->pw_passwd == NULL || ptr->pw_passwd[0] == 0 ?
"(null)" : ptr->pw_passwd);
exit(0);
}
2008-12-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人