Userland: Add /bin/whoami

This commit is contained in:
Andreas Kling 2019-05-16 20:18:17 +02:00
parent f196e2fcda
commit c597c2332b
Notes: sideshowbarker 2024-07-19 14:05:36 +09:00

8
Userland/whoami.cpp Normal file
View file

@ -0,0 +1,8 @@
#include <stdio.h>
#include <unistd.h>
int main(int, char**)
{
puts(getlogin());
return 0;
}