文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 《Unix网络编程》第一卷第三版unp.h
侵权投诉

《Unix网络编程》第一卷第三版unp.h

《Unix网络编程》第一卷第三版的unp.h,官网下载,还有若干相关文档,需要的站内联系。

/* include unph */

/* Our own header. Tabs are set for 4 spaces, not 8 */

#ifndef __unp_h

#define __unp_h

#include "../config.h" /* configuration options for current OS */

/* "../config.h" is generated by configure */

/* If anything changes in the following list of #includes, must change

acsite.m4 also, for configure's tests. */

#include <sys/types.h> /* basic system data types */

#include <sys/socket.h> /* basic socket definitions */

#if TIME_WITH_SYS_TIME

#include <sys/time.h> /* timeval{} for select() */

#include <time.h> /* timespec{} for pselect() */

#else

#if HAVE_SYS_TIME_H

#include <sys/time.h> /* includes <time.h> unsafely */

#else

#include <time.h> /* old system? */

#endif

#endif

#include <netinet/in.h> /* sockaddr_in{} and other Internet defns */

#include <arpa/inet.h> /* inet(3) functions */

#include <errno.h>

#include <fcntl.h> /* for nonblocking */

#include <netdb.h>

#include <signal.h>

#include <stdio.h>

#include <stdlib.h>

#include <string.h>

#include <sys/stat.h> /* for S_xxx file mode constants */

#include <sys/uio.h> /* for iovec{} and readv/writev */

#include <unistd.h>

#include <sys/wait.h>

#include <sys/un.h> /* for Unix domain sockets */

#ifdef HAVE_SYS_SELECT_H

# include <sys/select.h> /* for convenience */

#endif

#ifdef HAVE_SYS_SYSCTL_H

#ifdef HAVE_SYS_PARAM_H

# include <sys/param.h> /* OpenBSD prereq for sysctl.h */

第1页

你可能喜欢

  • Linux网络编程
  • 编程指南
  • 编程代码
  • Linux系统命令使用详解
  • 编程语言
  • java网络编程

热门文档

相关文档

  • 学习linux unix编程方法的建议 四个步骤

    学习linux unix编程方法的建议 四个步骤_计算机软件及应用_IT/计算机_专业资料...Comer的《用TCP/IP进行网际互连》第一卷,学习一下网络的知识,再看《UNP》的...

  • linux下c编程学习建议

    如果想学习UNIX/LINUX的编程,《APUE》绝对经典的教材,加深一下功底,学习《UNP》...Comer的《用TCP/IP进行网际互连》第一卷,学习一下网络的知识,再看《UNP》的...

  • 计算机类阅读引导

    看过《UNP》以后,您就会知道系统编程的绝大部分编程技巧,即使卷一是讲网络编程的。国内是清华翻译得《Unix网络编程》,翻译者得功底也比较高,翻译地比较好。所以...

  • Linux学习

    如果想学习UNIX/LINUX的编程,《APUE》绝对经典的教材,加深一下功底,学习《UNP》...Comer的《用TCP/IP进行网际互连》第一卷,学习一下网络的知识,再看《UNP》的...

  • linux下c编程学习建议

    如果想学习UNIX/LINUX的编程,《APUE》绝对经典的教材,加深一下功底,学习《UNP》...Comer的《用TCP/IP进行网际互连》第一卷,学习一下网络的知识,再看《UNP》的...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email