⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 recvn.h

📁 Source code for an Numeric Cmputer
💻 H
字号:
/********************************************************************* Description: recvn.c*   Provides a C file for the recvn function from the book Advanced*   Programming in the UNIX Environment by Richard Stevens.*   The function is called repeatedly until n bytes have been received*   from 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 RECVN_H#define RECVN_H#ifdef __cplusplusextern "C" {#endif#include <stddef.h>		/* size_t */    int recvn(int fd, void *vptr, int n, int flags, double timeout,	int *bytes_read_ptr);    extern int recvn_timedout;    extern int print_recvn_timeout_errors;#ifdef __cplusplus};#endif#endif /* RECVN_H */

⌨️ 快捷键说明

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