whoami.c File Reference

#include <sys/types.h>
#include <pwd.h>
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>

Include dependency graph for whoami.c:

Go to the source code of this file.

Functions

 _PROTOTYPE (int main,(void))
int main ()


Function Documentation

_PROTOTYPE int  main,
(void) 
 

int main void   ) 
 

Definition at line 11 of file whoami.c.

References exit(), geteuid, getpwuid(), NULL, puts(), and passwd::pw_name.


Generated on Fri Apr 14 23:07:57 2006 for minix by  doxygen 1.4.6