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

📄 posix.h

📁 mgcp协议源代码和测试程序,还有一个编译器
💻 H
字号:
/******************************************************************************
*      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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -