-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrdwrn.h
More file actions
26 lines (19 loc) · 929 Bytes
/
Copy pathrdwrn.h
File metadata and controls
26 lines (19 loc) · 929 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*************************************************************************\
* Copyright (C) Michael Kerrisk, 2015. *
* *
* This program is free software. You may use, modify, and redistribute it *
* under the terms of the GNU Lesser General Public License as published *
* by the Free Software Foundation, either version 3 or (at your option) *
* any later version. This program is distributed without any warranty. *
* See the files COPYING.lgpl-v3 and COPYING.gpl-v3 for details. *
\*************************************************************************/
/* Header file for Listing 61-1 */
/* rdwrn.h
Header file for rdwrn.c.
*/
#ifndef RDWRN_H
#define RDWRN_H
#include <sys/types.h>
ssize_t readn(int fd, void *buf, size_t len);
ssize_t writen(int fd, const void *buf, size_t len);
#endif