summaryrefslogtreecommitdiff
path: root/lib/ccan/read_write_all/read_write_all.h
blob: aa2635aaf26b93912c3b6e7f37ba322ebf2959d1 (plain)
1
2
3
4
5
6
7
8
9
10
/* Licensed under LGPLv2+ - see LICENSE file for details */
#ifndef _CCAN_READ_WRITE_H
#define _CCAN_READ_WRITE_H
#include <stddef.h>
#include <stdbool.h>

bool write_all(int fd, const void *data, size_t size);
bool read_all(int fd, void *data, size_t size);

#endif /* _CCAN_READ_WRITE_H */