-
-
Notifications
You must be signed in to change notification settings - Fork 1
coe.3
Manvendra Bhangui edited this page Dec 31, 2023
·
2 revisions
coe - set close-on-exec flag for a descriptor
#include <coe.h>
int coe(fd);
int fd;
coe sets the close-on-exec flag for file descriptor fd, returning 0 if it was successful or -1 on error. If coe is successful, fd will be closed when the process calls execve.
execve(2) fcntl(2)