delorie.com/djgpp/doc/libc/libc_413.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

getpwnam

Syntax

 
#include <pwd.h>

struct passwd *getpwnam(const char *name);

Description

This function gets the password file entry matching name. See getpwent, for the description of struct passwd.

Return Value

The matching record, or NULL if none match.

Portability

ANSI/ISO C No
POSIX 1003.2-1992; 1003.1-2001


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004