fd-util: add new helper close_many_unset()
This commit is contained in:
@@ -30,6 +30,7 @@ static inline int safe_close_above_stdio(int fd) {
|
||||
}
|
||||
|
||||
void close_many(const int fds[], size_t n_fd);
|
||||
void close_many_unset(int fds[], size_t n_fd);
|
||||
void close_many_and_free(int *fds, size_t n_fds);
|
||||
|
||||
int fclose_nointr(FILE *f);
|
||||
|
||||
Reference in New Issue
Block a user