summaryrefslogtreecommitdiff
path: root/checkpasswd/tryspnam.c
blob: 622ba8b8e103d263911734126f0d5514ea95236a (plain)
1
2
3
4
5
6
7
8
9
#include <shadow.h>

void main()
{
  struct spwd *spw;

  spw = getspnam("");
  puts(spw->sp_pwdp);
}