mirror of
https://github.com/labwc/labwc.git
synced 2025-11-08 13:30:00 -05:00
allow to reuse set_cloexec
This commit is contained in:
parent
df8e3d819c
commit
de700e2a3a
2 changed files with 8 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ reset_signals_and_limits(void)
|
|||
signal(SIGPIPE, SIG_DFL);
|
||||
}
|
||||
|
||||
static bool
|
||||
bool
|
||||
set_cloexec(int fd)
|
||||
{
|
||||
int flags = fcntl(fd, F_GETFD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue