File: tryspnam.c

package info (click to toggle)
cvm 0.11-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 492 kB
  • ctags: 215
  • sloc: ansic: 1,777; makefile: 48; sh: 12
file content (9 lines) | stat: -rw-r--r-- 102 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
#include <shadow.h>

void main()
{
  struct spwd *spw;

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