cctools
preadwrite.h
1 /*
2 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
3 Copyright (C) 2005- The University of Notre Dame
4 This software is distributed under the GNU General Public License.
5 See the file COPYING for details.
6 */
7 
8 #ifndef PREADWRITE_H
9 #define PREADWRITE_H
10 
11 #include <unistd.h>
12 
13 ssize_t pread(int fd, void *data, size_t length, off_t offset);
14 ssize_t pwrite(int fd, const void *data, size_t length, off_t offset);
15 
16 #endif