Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <stdlib.h> char *getlogin(void);
|
Return val. | Pointer to the name of the user id. |
Note |
|
Example | Pointer to the name of the user id.
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
printf("Example showing the use of getlogin():\n");
printf("Userid = %s\n", getlogin());
return 0;
}
|