mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Userland: Add /bin/whoami
This commit is contained in:
parent
f196e2fcda
commit
c597c2332b
Notes:
sideshowbarker
2024-07-19 14:05:36 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c597c2332b1
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