]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: fd: add a new my_closefrom() function to close all FDs
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Feb 2019 21:19:17 +0000 (22:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 21 Feb 2019 21:19:17 +0000 (22:19 +0100)
commit2d7f81b809ec469b82ac724c31e5c1cc4f444b9b
treea566831289707787d14ebde5b66c26381b68d5e9
parentf131481a0af79037bc6616edf450ae81d80084d7
MINOR: fd: add a new my_closefrom() function to close all FDs

This is a naive implementation of closefrom() which closes all FDs
starting from the one passed in argument. closefrom() is not provided
on all operating systems, and other versions will follow.
include/proto/fd.h
src/fd.c