Home
last modified time | relevance | path

Searched refs:pid_t (Results 1 – 25 of 155) sorted by relevance

1234567

/l4re-core-master/uclibc/lib/contrib/uclibc/test/nptl/
A Dtst-vfork1.c42 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 Dtst-vfork1x.c42 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 Dtst-vfork2.c77 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 Dtst-vfork2x.c77 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 Dtst-getpid1.c49 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 Dgetpid.c29 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 Dfork.c60 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 Dtcgetsid.c26 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 Dtcgetpgrp.c25 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 Dwaitpid.c12 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 Dvfork.c17 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 Dfork.c18 _syscall0(pid_t, fork)
24 pid_t fork(void)
26 pid_t pid = INLINE_SYSCALL(clone, 4, SIGCHLD, NULL, NULL, NULL);
A Dgetpgrp.c15 _syscall_noerr0(pid_t, getpgrp)
17 pid_t getpgrp(void)
A Dwait.c10 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 Dgetsid.c18 pid_t getsid(pid_t pid) in _syscall1()
A Dgetpgid.c18 pid_t __getpgid(pid_t pid) in _syscall1()
/l4re-core-master/libc_backends/lib/misc/
A Dmisc.c70 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 Dptfork.c26 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 Ddaemon.c73 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 Dtst-mallocfork.c14 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 Dspawn.h38 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 Dsystem.c124 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 Dgetsid.c14 pid_t getsid(pid_t pid) in getsid()
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/xtensa/
A Dfork.c19 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 Dsockios.h20 #define SIOCSPGRP _IOW('s', 8, pid_t)
21 #define SIOCGPGRP _IOR('s', 9, pid_t)

Completed in 37 milliseconds

1234567