Xinqi Bao's Git
cd503f6eb517da73fc62958d8a7bd49ffa41ee0b
1 /* See LICENSE file for copyright and license details. */
14 return bprintf("%d", getgid());
22 if (!(pw
= getpwuid(geteuid()))) {
23 warn("getpwuid '%d':", geteuid());
27 return bprintf("%s", pw
->pw_name
);
33 return bprintf("%d", geteuid());