/src/tests/lib/libc/sys/ |
t_ptrace_kill.c | 57 child(int *fdto, int *fdfrom) 62 read(fdto[0], &q, 1); 65 read(fdto[0], &q, 1); 92 int fdto[2], fdfrom[2]; local in function:ATF_TC_BODY 97 SYSCALL(pipe(fdto), 0); 101 child(fdto, fdfrom); 112 SYSCALL(write(fdto[1], &p, 1), 1);
|
t_ptrace_kill.c | 57 child(int *fdto, int *fdfrom) 62 read(fdto[0], &q, 1); 65 read(fdto[0], &q, 1); 92 int fdto[2], fdfrom[2]; local in function:ATF_TC_BODY 97 SYSCALL(pipe(fdto), 0); 101 child(fdto, fdfrom); 112 SYSCALL(write(fdto[1], &p, 1), 1);
|
/src/share/examples/refuse/fanoutfs/ |
fanoutfs.c | 165 int fdto; local in function:copyfile 174 if ((fdto = open(to, O_WRONLY | O_CREAT | O_EXCL, st.st_mode & 07777)) < 0) { 180 if (write(fdto, buf, cc) != cc) { 185 if (fchown(fdto, st.st_uid, st.st_gid) < 0) { 190 (void) close(fdto);
|
fanoutfs.c | 165 int fdto; local in function:copyfile 174 if ((fdto = open(to, O_WRONLY | O_CREAT | O_EXCL, st.st_mode & 07777)) < 0) { 180 if (write(fdto, buf, cc) != cc) { 185 if (fchown(fdto, st.st_uid, st.st_gid) < 0) { 190 (void) close(fdto);
|