sendn.h

来自「Source code for an Numeric Cmputer」· C头文件 代码 · 共 38 行

H
38
字号
/********************************************************************* Description: sendn.h*   Provides a C file for the sendn function from the book Advanced*   Programming in the UNIX Environment by Richard Stevens.*   The sendn function calls the send function repeatedly until n bytes*   have been written to the file descriptor.**   Derived from a work by Fred Proctor & Will Shackleford** Author:* License: LGPL Version 2* System: Linux*    * Copyright (c) 2004 All rights reserved.** Last change: * $Revision: 1.4 $* $Author: paul_c $* $Date: 2005/05/23 16:34:10 $********************************************************************/#ifndef WRITEN_H#define WRITEN_H#ifdef __cplusplusextern "C" {#endif#include <stddef.h>		/* size_t */    int sendn(int fd, const void *vptr, int n, int flags, double timeout);#ifdef __cplusplus};#endif#endif /* WRITEN_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?