[go: up one dir, main page]

File: s-getids.c

package info (click to toggle)
uftrace 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,212 kB
  • sloc: ansic: 53,313; python: 9,846; makefile: 838; asm: 703; cpp: 602; sh: 560; javascript: 191
file content (14 lines) | stat: -rw-r--r-- 163 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <unistd.h>

int main(int argc, char *argv[])
{
	getpid();
	getppid();
	getpgid(0);
	getsid(0);
	getuid();
	geteuid();
	getgid();
	getegid();
	return 0;
}