RTEMS  5.0.0
Functions
getlogin.c File Reference

Get User Name. More...

#include <limits.h>
#include <string.h>
#include <sys/types.h>
#include <errno.h>
#include <rtems/seterr.h>
#include <rtems/userenv.h>
#include <unistd.h>
#include <pwd.h>

Functions

char * getlogin (void)
 
int getlogin_r (char *name, size_t namesize)
 

Detailed Description

Get User Name.

Function Documentation

◆ getlogin()

char* getlogin ( void  )

4.2.4 Get User Name, P1003.1b-1993, p. 87

Note
P1003.1c/D10, p. 49 adds getlogin_r().

◆ getlogin_r()

int getlogin_r ( char *  name,
size_t  namesize 
)

4.2.4 Get User Name, P1003.1b-1993, p. 87

Note
P1003.1c/D10, p. 49 adds getlogin_r().