summaryrefslogtreecommitdiffstats
path: root/src/lib/pid_t.h
blob: c6d8e317f2acf20a7d3973fbea2dd9a5c4cabfa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef LIB_PID_T_H
#define LIB_PID_T_H

/* Process identifier.
   Moved from lib/user/syscall.h since both kernel-
   and user-space want the same definition. */
typedef int pid_t;

#define PID_ERROR ((pid_t) -1)

/* Format specifier for printf(), e.g.:
   printf ("pid=%"PRPTd"\n", pid); */
#define PRPTd d

#endif /* lib/pid_t.h */