Home
last modified time | relevance | path

Searched refs:fdflags (Results 1 – 4 of 4) sorted by relevance

/vim-8.2.3635/src/
H A Dmemfile.c1297 int fdflags = fcntl(mfp->mf_fd, F_GETFD); in mf_do_open() local
1298 if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0) in mf_do_open()
1299 (void)fcntl(mfp->mf_fd, F_SETFD, fdflags | FD_CLOEXEC); in mf_do_open()
H A Dscriptfile.c1082 int fdflags = fcntl(fd_tmp, F_GETFD); in fopen_noinh_readbin() local
1083 if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0) in fopen_noinh_readbin()
1084 (void)fcntl(fd_tmp, F_SETFD, fdflags | FD_CLOEXEC); in fopen_noinh_readbin()
H A Dfileio.c2330 int fdflags = fcntl(fd, F_GETFD); in readfile() local
2332 if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0) in readfile()
2333 (void)fcntl(fd, F_SETFD, fdflags | FD_CLOEXEC); in readfile()
H A Dmemline.c727 int fdflags = fcntl(mfp->mf_fd, F_GETFD); in ml_setname() local
728 if (fdflags >= 0 && (fdflags & FD_CLOEXEC) == 0) in ml_setname()
729 (void)fcntl(mfp->mf_fd, F_SETFD, fdflags | FD_CLOEXEC); in ml_setname()