Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

writen.h

Go to the documentation of this file.
00001 /************************************************************************
00002 * File: writen.h
00003 * Purpose: Provides a header file for the writen function from
00004 * the book Advanced Programming in the UNIX Environment  by Richard Stevens.
00005 * The writen function calls the write function repeatedly until n bytes
00006 * have been written to the file descriptor.
00007 *************************************************************************/
00008 
00009 
00010 
00011 #ifndef WRITEN_H
00012 #define WRITEN_H
00013 
00014 
00015 #ifdef __cplusplus
00016 extern "C"
00017 {
00018 #endif
00019 
00020 #include <stddef.h>             /* size_t */
00021 
00022   int writen (int fd, const void *vptr, int n, double timeout);
00023 
00024 #ifdef __cplusplus
00025 };
00026 #endif
00027 
00028 
00029 #endif /* WRITEN_H */

Generated on Sun Dec 2 15:56:53 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001