summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getppid.c
blob: 148053dd3bd44fdbd53e107e2f29eda0ddb674dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*
 * getppid() for uClibc
 *
 * Copyright (C) 2000-2006 by Erik Andersen <andersen@codepoet.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include <sys/syscall.h>
#include <unistd.h>

#ifdef	__NR_getppid
_syscall_noerr0(pid_t, getppid)
#endif