www.delorie.com/djgpp/doc/libc/libc_414.html   search  
libc.a reference

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

getpwuid

Syntax

 
#include <pwd.h>

struct passwd *getpwuid(uid_t uid);

Description

This function gets the password file entry matching uid. 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   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004