Skip to content

close all fds with closefrom()#2

Open
bAndie91 wants to merge 1 commit into
domo141:masterfrom
bAndie91:feature/closeall
Open

close all fds with closefrom()#2
bAndie91 wants to merge 1 commit into
domo141:masterfrom
bAndie91:feature/closeall

Conversation

@bAndie91

@bAndie91 bAndie91 commented Nov 1, 2019

Copy link
Copy Markdown
Contributor

use closefrom() to close many FDs. i have not lookup how much portable is it, but some source says it's in all unices except linux, however I've it on my linux.

@domo141

domo141 commented Nov 1, 2019

Copy link
Copy Markdown
Owner

interesting... have to investigate whether to make libbsd requirement, or closefrom() to be used conditionally...

@bAndie91 bAndie91 changed the title close all fds with closefrom() 3close all fds with closefrom() Nov 2, 2019
@bAndie91 bAndie91 changed the title 3close all fds with closefrom() close all fds with closefrom() Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants