trafgen: fix NULL pointer dereference in -i option parsing
[netsniff-ng-new.git] / ioexact.h
blobc69552bf82f2aa33b2c831f94af2f7bafe444a4b
1 #ifndef IOEXACT_H
2 #define IOEXACT_H
4 #include <stdbool.h>
6 extern ssize_t read_exact(int fd, void *buf, size_t len, bool mayexit);
7 extern ssize_t write_exact(int fd, void *buf, size_t len, bool mayexit);
9 #endif /* IOEXACT_H */