fd-util: modernization

This commit is contained in:
Mike Yuan
2023-12-28 18:26:52 +08:00
parent 9ef362bf3d
commit 1276e63370
2 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -32,8 +32,8 @@ static inline int safe_close_above_stdio(int fd) {
return safe_close(fd);
}
void close_many(const int fds[], size_t n_fd);
void close_many_unset(int fds[], size_t n_fd);
void close_many(const int fds[], size_t n_fds);
void close_many_unset(int fds[], size_t n_fds);
void close_many_and_free(int *fds, size_t n_fds);
int fclose_nointr(FILE *f);