Home
last modified time | relevance | path

Searched refs:FNOSIGPIPE (Results 1 – 8 of 8) sorted by relevance

/netbsd-src/sys/sys/
H A Dfcntl.h147 FDIRECT|FNOSIGPIPE)
165 #define FNOSIGPIPE O_NOSIGPIPE /* kernel */ macro
/netbsd-src/sys/kern/
H A Dsys_descrip.c413 *retval = (fp->f_flag & FNOSIGPIPE) != 0; in sys_fcntl()
418 atomic_or_uint(&fp->f_flag, FNOSIGPIPE); in sys_fcntl()
420 atomic_and_uint(&fp->f_flag, ~FNOSIGPIPE); in sys_fcntl()
H A Duipc_syscalls.c242 ((flags & SOCK_NOSIGPIPE) ? FNOSIGPIPE : 0); in do_sys_accept()
612 if (error == EPIPE && (fp->f_flag & FNOSIGPIPE) == 0 && in do_sys_sendmsg_so()
1177 atomic_or_uint(&fp->f_flag, FNOSIGPIPE); in sys_setsockopt()
1179 atomic_and_uint(&fp->f_flag, ~FNOSIGPIPE); in sys_setsockopt()
1217 if (fp->f_flag & FNOSIGPIPE) in getsockopt()
H A Dsys_generic.c357 if (error == EPIPE && !(fp->f_flag & FNOSIGPIPE)) { in dofilewrite()
481 if (error == EPIPE && !(fp->f_flag & FNOSIGPIPE)) { in do_filewritev()
H A Dkern_descrip.c816 fp->f_flag |= flags & (FNONBLOCK|FNOSIGPIPE); in fd_dup2()
H A Dkern_event.c1726 fp->f_flag = FREAD | FWRITE | (flags & (FNONBLOCK|FNOSIGPIPE)); in kqueue1()
H A Duipc_socket.c607 ((flags & SOCK_NOSIGPIPE) ? FNOSIGPIPE : 0); in fsocreate()
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_fs.c308 if (error == EPIPE && (fp->f_flag & FNOSIGPIPE) == 0) { in dofilewritev32()