mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 01:41:59 -05:00
Userland: Add /bin/whoami
This commit is contained in:
parent
f196e2fcda
commit
c597c2332b
1 changed files with 8 additions and 0 deletions
8
Userland/whoami.cpp
Normal file
8
Userland/whoami.cpp
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
puts(getlogin());
|
||||
return 0;
|
||||
}
|
Loading…
Reference in a new issue