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

sendn.h

Go to the documentation of this file.
00001 /************************************************************************
00002 * File: sendn.h
00003 * Purpose: Provides a header file for the sendn function from
00004 * the book Advanced Programming in the UNIX Environment  by Richard Stevens.
00005 * The sendn function calls the send 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 #include "rcs_defs.hh"          /* RCS_EXPORT */
00015 
00016 #ifdef __cplusplus
00017 extern "C"
00018 {
00019 #endif
00020 
00021 #ifndef UNDER_CE
00022 #include <stddef.h>             /* size_t */
00023 #else
00024 #include <stdlib.h>             /* size_t */
00025 #endif
00026 
00027   int RCS_EXPORT sendn (int fd, const void *vptr, int n, int flags,
00028                         double timeout);
00029 
00030 #ifdef __cplusplus
00031 };
00032 #endif
00033 
00034 
00035 #endif /* WRITEN_H */

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