1 /*
2 * Check decoding of getppid syscall.
3 *
4 * Copyright (c) 2017-2021 The strace developers.
5 * All rights reserved.
6 *
7 * SPDX-License-Identifier: GPL-2.0-or-later
8 */
9
10 #include "tests.h"
11 #include "scno.h"
12
13 #include <stdio.h>
14 #include <unistd.h>
15
16 int
17 main(void)
18 {
19 printf("getppid() = %s\n", sprintrc(syscall(__NR_getppid)));
20 puts("+++ exited with 0 +++");
21 return 0;
22 }