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

📄 sockio.h

📁 libminigui-1.3.0.tar.gz。 miniGUI的库函数源代码!
💻 H
字号:
/*** $Id: sockio.h,v 1.7 2003/08/12 07:46:18 weiym Exp $**** sockio.h: routines for socket i/o.**** Copyright (C) 2003 Feynman Software.** Copyright (C) 2000 ~ 2002 Wei Yongming.**** Create date: 2000/12/xx*/#ifndef GUI_SOCKIO_H    #define GUI_SOCKIO_H#ifndef MINIGUI_H#define SOCKERR_IO          -1#define SOCKERR_CLOSED      -2#define SOCKERR_INVARG      -3#define SOCKERR_TIMEOUT     -4#define SOCKERR_OK          0#ifdef __cplusplusextern "C" {#endif  /* __cplusplus */int sock_write_t (int fd, const void* buff, int count, unsigned int timeout);int sock_read_t (int fd, void* buff, int count, unsigned int timeout);#define sock_write(fd, buff, count) sock_write_t(fd, buff, count, 0)#define sock_read(fd, buff, count) sock_read_t(fd, buff, count, 0)#ifdef __cplusplus}#endif  /* __cplusplus */#endif // MINIGUI_H#endif // GUI_SOCKIO_H

⌨️ 快捷键说明

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