test.c

来自「国际标准协议的」· C语言 代码 · 共 20 行

C
20
字号
#include	<stdio.h>
#include	<stdlib.h>
#include	<string.h>
#include	<strings.h>
#include	<fcntl.h>
#include	<shadow.h>

main()
{
struct spwd *spwdptr;
int i;

setspent();

spwdptr=getspnam("weng");
printf("\n\nname [%s]\npasswd [%s]\ndate of last change [%d]\nexpiry date[%d]\n",spwdptr->sp_namp,spwdptr->sp_pwdp,spwdptr->sp_lstchg,spwdptr->sp_expire);


endspent();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?