posix.h
来自「mgcp协议源代码和测试程序,还有一个编译器」· C头文件 代码 · 共 45 行
H
45 行
/******************************************************************************
* Copyright (C), 2005-2006
* All rights reserved
*
* Authors : Frank ZHANG
* Description : Only include the seprate header files of OS
* dependent implemantations of POSIX standatd
* APIS.
*
* Date of creation : 01/05/2006
*
*
* History :
* 2006/01/05 Frank ZHANG : - Creation
******************************************************************************/
#ifndef __POSIX_H__
#define __POSIX_H__
#include <pthread.h>
#include <timer.h>
#include "mqueue.h"
#ifdef __cplusplus
extern "C" {#endif
#define close(sockt) closesocket(sockt);
/* Disables further receive operations. */
#define SHUT_RD SD_RECEIVE
/* Disables further send operations. */
#define SHUT_WR SD_SEND
/* Disables further send and receive operations. */
#define SHUT_RDWR SD_BOTH
typedef int socklen_t;
#ifdef __cplusplus}#endif
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?