关于TCP、IP的编成,UNIX,#include #include #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 ? "(