mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 08:56:40 +00:00
Userland: Add /bin/whoami
This commit is contained in:
parent
f196e2fcda
commit
c597c2332b
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