Searched refs:FNOSIGPIPE (Results 1 – 8 of 8) sorted by relevance
147 FDIRECT|FNOSIGPIPE)165 #define FNOSIGPIPE O_NOSIGPIPE /* kernel */ macro
413 *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()
242 ((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()
357 if (error == EPIPE && !(fp->f_flag & FNOSIGPIPE)) { in dofilewrite()481 if (error == EPIPE && !(fp->f_flag & FNOSIGPIPE)) { in do_filewritev()
816 fp->f_flag |= flags & (FNONBLOCK|FNOSIGPIPE); in fd_dup2()
1726 fp->f_flag = FREAD | FWRITE | (flags & (FNONBLOCK|FNOSIGPIPE)); in kqueue1()
607 ((flags & SOCK_NOSIGPIPE) ? FNOSIGPIPE : 0); in fsocreate()
308 if (error == EPIPE && (fp->f_flag & FNOSIGPIPE) == 0) { in dofilewritev32()