fd-util: add new helper close_many_unset()

This commit is contained in:
Lennart Poettering
2023-10-18 14:03:36 +02:00
parent 26f937e576
commit d3eb74f8f8
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -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);