Set whether or not the socket should close during exec() (FD_CLOEXEC). By default, this is enabled

Synopsis

Declared in <folly/io/async/AsyncServerSocket.h>

void
setCloseOnExec(bool closeOnExec);

Parameters

Name

Description

closeOnExec

Whether to enable FD_CLOEXEC.

Created with MrDocs