full_io.h

Go to the documentation of this file.
00001 /*
00002 Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
00003 Copyright (C) 2005- The University of Notre Dame
00004 This software is distributed under the GNU General Public License.
00005 See the file COPYING for details.
00006 */
00007 
00008 #ifndef FULL_IO_H
00009 #define FULL_IO_H
00010 
00011 #include <sys/types.h>
00012 
00013 #include <stdint.h>
00014 #include <stdio.h>
00015 
00032 ssize_t full_read(int fd, void *buf, size_t count);
00033 
00040 ssize_t full_write(int fd, const void *buf, size_t count);
00041 
00049 ssize_t full_pread(int fd, void *buf, size_t count, off_t offset);
00050 
00058 ssize_t full_pwrite(int fd, const void *buf, size_t count, off_t offset);
00059 
00067 ssize_t full_pread64(int fd, void *buf, size_t count, int64_t offset);
00068 
00076 ssize_t full_pwrite64(int fd, const void *buf, size_t count, int64_t offset);
00077 
00084 ssize_t full_fread(FILE * file, void *buf, size_t count);
00085 
00092 ssize_t full_fwrite(FILE * file, const void *buf, size_t count);
00093 
00094 #endif

Generated on 7 Oct 2015 for cctools by  doxygen 1.6.1