fdset: add new fdset_consume() helper

This commit is contained in:
Lennart Poettering
2023-03-29 19:09:10 +02:00
parent bdcad22e8e
commit e829f28c1b
3 changed files with 15 additions and 3 deletions
+1
View File
@@ -13,6 +13,7 @@ FDSet* fdset_new(void);
FDSet* fdset_free(FDSet *s);
int fdset_put(FDSet *s, int fd);
int fdset_consume(FDSet *s, int fd);
int fdset_put_dup(FDSet *s, int fd);
bool fdset_contains(FDSet *s, int fd);