mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 11:17:43 +00: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…
Add table
Add a link
Reference in a new issue