Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
f68d2f7c
Commit
f68d2f7c
authored
Mar 15, 2014
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
system/fd_util: export fd_set_cloexec()
parent
f660d301
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
fd_util.c
src/system/fd_util.c
+1
-1
fd_util.h
src/system/fd_util.h
+3
-0
No files found.
src/system/fd_util.c
View file @
f68d2f7c
...
...
@@ -69,7 +69,7 @@ fd_mask_flags(int fd, int and_mask, int xor_mask)
#endif
/* !WIN32 */
static
int
int
fd_set_cloexec
(
int
fd
,
bool
enable
)
{
#ifndef WIN32
...
...
src/system/fd_util.h
View file @
f68d2f7c
...
...
@@ -51,6 +51,9 @@ struct sockaddr;
extern
"C"
{
#endif
int
fd_set_cloexec
(
int
fd
,
bool
enable
);
/**
* Wrapper for dup(), which sets the CLOEXEC flag on the new
* descriptor.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment