This commit is contained in:
Yorick Barbanneau 2023-04-17 23:40:08 +02:00
parent 4296f3a394
commit 553cdc440c
24 changed files with 919 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#define _GNU_SOURCE
#include <pwd.h>
#include <stdio.h>
int main(void) {
char buf[12];
getpw(0, buf);
printf("%s\n", buf);
return 0;
}