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

📄 wincecompat.h

📁 libxml,在UNIX/LINUX下非常重要的一个库,为XML相关应用提供方便.目前上载的是最新版本,若要取得最新版本,请参考里面的readme.
💻 H
字号:
/* * wincecompat.h : wince compatiblity header file  * * See Copyright for the status of this software. * * javier@tiresiassoft.com * * 17 Sep 2002  created */#ifndef __WINCECOMPAT_H__#define __WINCECOMPAT_H__#include <stdio.h>#define MAX_STRERROR 31#define O_RDONLY       0x0000  /* open for reading only */#define O_WRONLY       0x0001  /* open for writing only */#define O_RDWR         0x0002  /* open for reading and writing */#define O_APPEND       0x0008  /* writes done at eof */#define O_CREAT        0x0100  /* create and open file */#define O_TRUNC        0x0200  /* open and truncate */#define O_EXCL         0x0400  /* open only if file doesn't already exist */extern int errno;/* 	Prototypes */int read(int handle, char *buffer, unsigned int len);int write(int handle, const char *buffer, unsigned int len);int open(const char *filename,int oflag, ...);int close(int handle);char *getenv( const char *varname );char *strerror(int errnum);/*	Macro'ed inexistant funtion names*/#define snprintf _snprintf#define vsnprintf(b,c,f,a) _vsnprintf(b,c,f,a)#define perror(_t) MessageBox(NULL, _T("_t"), _T("Error/Warning"), MB_OK)#endif

⌨️ 快捷键说明

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