Home | History | Annotate | Download | only in lib

Lines Matching refs:desc

28 /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true,
32 Note that on MingW, this function does NOT protect DESC from being
34 followed by closing the original DESC, or use interfaces such as
35 open or pipe2 that accept flags like O_CLOEXEC to create DESC
39 set_cloexec_flag (int desc, bool value)
43 int flags = fcntl (desc, F_GETFD, 0);
50 || fcntl (desc, F_SETFD, newflags) != -1)
60 if (desc < 0)
65 if (dup2 (desc, desc) < 0)