aboutsummaryrefslogtreecommitdiff
path: root/tests-mx32/getsid.c
blob: b563de9d003a1252ccc7a0d4cd9e0ed90c5ca63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "tests.h"
#include <stdio.h>
#include <unistd.h>

int
main(void)
{
	pid_t pid = getpid();
	printf("getsid(%d) = %d\n", pid, getsid(pid));

	puts("+++ exited with 0 +++");
	return 0;
}