/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/ |
A D | tst-vfork1.c | 42 pid_t p1; in do_test() 45 pid_t p = getpid (); in do_test() 54 pid_t p2 = 0; in do_test() 55 if (TEMP_FAILURE_RETRY (read (fd[0], &p2, sizeof (pid_t))) != sizeof (pid_t)) in do_test() 73 pid_t p0 = getpid (); in do_test() 76 pid_t p3; in do_test() 79 pid_t p = getpid (); in do_test() 88 pid_t p4; in do_test() 89 if (TEMP_FAILURE_RETRY (read (fd[0], &p4, sizeof (pid_t))) != sizeof (pid_t)) in do_test() 106 pid_t p5 = getpid (); in do_test()
|
A D | tst-vfork1x.c | 42 pid_t p1; in do_test() 45 pid_t p = getpid (); in do_test() 54 pid_t p2 = 0; in do_test() 55 if (TEMP_FAILURE_RETRY (read (fd[0], &p2, sizeof (pid_t))) != sizeof (pid_t)) in do_test() 73 pid_t p0 = getpid (); in do_test() 76 pid_t p3; in do_test() 79 pid_t p = getpid (); in do_test() 88 pid_t p4; in do_test() 89 if (TEMP_FAILURE_RETRY (read (fd[0], &p4, sizeof (pid_t))) != sizeof (pid_t)) in do_test() 106 pid_t p5 = getpid (); in do_test()
|
A D | tst-vfork2.c | 77 pid_t p1; in do_test() 80 pid_t p = getpid (); in do_test() 97 pid_t p2 = 0; in do_test() 98 if (TEMP_FAILURE_RETRY (read (fd[0], &p2, sizeof (pid_t))) != sizeof (pid_t)) in do_test() 116 pid_t p0 = getpid (); in do_test() 119 pid_t p3; in do_test() 122 pid_t p = getpid (); in do_test() 131 pid_t p4; in do_test() 132 if (TEMP_FAILURE_RETRY (read (fd[0], &p4, sizeof (pid_t))) != sizeof (pid_t)) in do_test() 149 pid_t p5 = getpid (); in do_test()
|
A D | tst-vfork2x.c | 77 pid_t p1; in do_test() 80 pid_t p = getpid (); in do_test() 97 pid_t p2 = 0; in do_test() 98 if (TEMP_FAILURE_RETRY (read (fd[0], &p2, sizeof (pid_t))) != sizeof (pid_t)) in do_test() 116 pid_t p0 = getpid (); in do_test() 119 pid_t p3; in do_test() 122 pid_t p = getpid (); in do_test() 131 pid_t p4; in do_test() 132 if (TEMP_FAILURE_RETRY (read (fd[0], &p4, sizeof (pid_t))) != sizeof (pid_t)) in do_test() 149 pid_t p5 = getpid (); in do_test()
|
A D | tst-getpid1.c | 49 pid_t p = __clone2 (f, st, sizeof (st), TEST_CLONE_FLAGS, 0); in do_test() 53 pid_t p = clone (f, st + sizeof (st), TEST_CLONE_FLAGS, 0); in do_test() 55 pid_t p = clone (f, st, TEST_CLONE_FLAGS, 0); in do_test()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/nptl/sysdeps/unix/sysv/linux/ |
A D | getpid.c | 29 static inline __attribute__((always_inline)) pid_t really_getpid (pid_t oldval); 31 static inline __attribute__((always_inline)) pid_t 32 really_getpid (pid_t oldval) in really_getpid() 36 pid_t selftid = THREAD_GETMEM (THREAD_SELF, tid); in really_getpid() 42 pid_t result = INTERNAL_SYSCALL (getpid, err, 0); in really_getpid() 52 static pid_t 57 pid_t result = INTERNAL_SYSCALL (getpid, err, 0); in __getpid() 59 pid_t result = THREAD_GETMEM (THREAD_SELF, pid); in __getpid()
|
A D | fork.c | 60 pid_t 70 pid_t pid; in fork() 135 pid_t ppid = THREAD_GETMEM (THREAD_SELF, tid); in fork() 141 pid_t parentpid = THREAD_GETMEM (THREAD_SELF, pid); in fork()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/termios/ |
A D | tcgetsid.c | 26 pid_t 29 pid_t pgrp; in tcgetsid() 30 pid_t sid; in tcgetsid() 46 return (pid_t) -1; in tcgetsid() 49 return (pid_t) sid; in tcgetsid() 55 return (pid_t) -1; in tcgetsid()
|
A D | tcgetpgrp.c | 25 pid_t tcgetpgrp (int fd) in tcgetpgrp() 27 pid_t pgrp; in tcgetpgrp()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/ |
A D | waitpid.c | 12 pid_t __NC(waitpid)(pid_t pid, int *wait_stat, int options) in __NC() 20 CANCELLABLE_SYSCALL(pid_t, waitpid, (pid_t pid, int *wait_stat, int options), (pid, wait_stat, opti…
|
A D | vfork.c | 17 pid_t __vfork(void) in __vfork() 19 pid_t pid = INLINE_SYSCALL(clone, 4, SIGCHLD, in __vfork() 30 _syscall0(pid_t, __vfork) 33 pid_t __vfork(void)
|
A D | fork.c | 18 _syscall0(pid_t, fork) 24 pid_t fork(void) 26 pid_t pid = INLINE_SYSCALL(clone, 4, SIGCHLD, NULL, NULL, NULL);
|
A D | getpgrp.c | 15 _syscall_noerr0(pid_t, getpgrp) 17 pid_t getpgrp(void)
|
A D | wait.c | 10 static pid_t __NC(wait)(__WAIT_STATUS_DEFN stat_loc) in __NC() 14 CANCELLABLE_SYSCALL(pid_t, wait, (__WAIT_STATUS_DEFN stat_loc), (stat_loc))
|
A D | getsid.c | 18 pid_t getsid(pid_t pid) in _syscall1()
|
A D | getpgid.c | 18 pid_t __getpgid(pid_t pid) in _syscall1()
|
/l4re-core-master/libc_backends/lib/misc/ |
A D | misc.c | 70 pid_t getpid(void) in getpid() 75 pid_t fork(void) in fork() 89 int kill(pid_t pid, int sig) in kill() 169 pid_t setsid(void) in setsid() 198 pid_t waitpid(pid_t pid, int *status, int options) in waitpid() 316 pid_t getpgrp(void) { return 7; } in getpgrp() 317 pid_t getppid(void) { return 122; } in getppid() 319 int setpgid(pid_t pid, pid_t pgid) in setpgid() 335 pid_t wait3(int *status, int options, struct rusage *rusage) in wait3()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/ |
A D | ptfork.c | 26 pid_t __pthread_fork (struct fork_block *b) in __pthread_fork() 28 pid_t pid; in __pthread_fork() 81 pid_t __fork (void) 87 pid_t __vfork(void)
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/unistd/ |
A D | daemon.c | 73 pid_t _fork_parent(void) in _fork_parent() 82 static inline pid_t fork_parent(void) in fork_parent() 85 pid_t ret; in fork_parent() 94 static inline pid_t fork_parent(void) in fork_parent()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/test/malloc/ |
A D | tst-mallocfork.c | 14 pid_t child = vfork (); in sig_handler() 23 pid_t parent = getpid (); in do_test() 37 pid_t child = vfork (); in do_test()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/include/ |
A D | spawn.h | 38 pid_t __pgrp; 85 extern int posix_spawn (pid_t *__restrict __pid, 97 extern int posix_spawnp (pid_t *__pid, const char *__file, 184 __attr, pid_t *__restrict __pgroup) in posix_spawnattr_getpgroup() 193 pid_t __pgroup) in posix_spawnattr_setpgroup()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdlib/ |
A D | system.c | 124 pid_t pid; in do_system() 174 if (pid == (pid_t) 0) in do_system() 193 else if (pid < (pid_t) 0) in do_system() 248 pid_t child = *(pid_t *) arg; in cancel_handler()
|
/l4re-core-master/uclibc/lib/uclibc/ARCH-all/libc/sysdeps/linux/common/ |
A D | getsid.c | 14 pid_t getsid(pid_t pid) in getsid()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/xtensa/ |
A D | fork.c | 19 pid_t fork(void) in fork() 21 return (pid_t) INLINE_SYSCALL(clone, 2, SIGCHLD, 0); in fork()
|
/l4re-core-master/uclibc/lib/uclibc/ARCH-mips/include/asm/ |
A D | sockios.h | 20 #define SIOCSPGRP _IOW('s', 8, pid_t) 21 #define SIOCGPGRP _IOR('s', 9, pid_t)
|