Back to index

glibc  2.9
getlogin.c File Reference
#include <stddef.h>
#include <errno.h>
#include <unistd.h>
#include <hurd.h>

Go to the source code of this file.


char * getlogin ()

Function Documentation

char* getlogin ( void  )

Definition at line 27 of file getlogin.c.

  static char login[1024];  /* XXX */
  error_t err;

  if (err = __USEPORT (PROC, __proc_getlogin (port, login)))
      errno = err;
      return NULL;

  return login;

Here is the call graph for this function: