Back to index

glibc  2.9
tst-getpw.c File Reference
#include <pwd.h>

Go to the source code of this file.


static void check (uid_t uid)
int main (void)

Function Documentation

static void check ( uid_t  uid) [static]

Definition at line 22 of file tst-getpw.c.

  char buf[1024];

  (void) getpw (uid, buf);

Here is the caller graph for this function:

int main ( void  )

Definition at line 30 of file tst-getpw.c.

  uid_t uid;

  /* Just call it a different number of times the range should be
     large enough to find some existing and some non existing uids.  */

  for (uid = 0; uid < 2000; ++uid)
    check (uid);

  return 0;

Here is the call graph for this function: