coe(3)

coe3

Set close-on-exec flag for a descriptor

Usage

#include <coe.h>

int coe(fd);

int fd;

Overview

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.

Releases

Unchanged in 4 releases since Debian 7 (Wheezy).

  1. 7–10

From qmail 1.06-6.2~deb10u1 in Debian 10 (Buster). Parsed by carta from the page's man source.