web: create "versioned" tarballs.
[ccan] / ccan / read_write_all / read_write_all.h
1 /* Licensed under LGPLv2+ - see LICENSE file for details */
2 #ifndef _CCAN_READ_WRITE_H
3 #define _CCAN_READ_WRITE_H
4 #include <stddef.h>
5 #include <stdbool.h>
6
7 bool write_all(int fd, const void *data, size_t size);
8 bool read_all(int fd, void *data, size_t size);
9
10 #endif /* _CCAN_READ_WRITE_H */