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

📄 wy__cfunc.h

📁 一个不错
💻 H
字号:
/* Copyright is licensed under GNU LGPL.                 by I.J.Wang 2005   C-library function wrapper   .libwy library uses c-lib functions through these wrappers.   .Different wrappers may be in different files.   (Some clib functions are used directly in some .cpp files, e.g.     WySysFile::wy_close(int) is for ::close,...)*/#ifndef WY__CFUNC_H__#define WY__CFUNC_H__#define WY__CFUNC_VERSION 31#include "wyreqs.h"#include <sys/stat.h>#include <sys/types.h>  // for mode_t#ifdef WY_DEBUG#include <pthread.h>int wydbg_get_fdcnt(void) throw();int wydbg_get_fdcnt_max(void) throw();void wydbg_dec_fdcnt(void) throw();#endif  // end WY_DEBUGint wyc_open(const char* pathname, int flags);int wyc_open(const char* pathname, int flags, mode_t mode);int wyc_creat(const char* pathname, mode_t mode);int wyc_dup(int oldfd);int wyc_dup2(int oldfd, int newfd);int wyc_fstat(int fd, struct stat* buf);int wyc_stat(const char*, struct stat* buf);int wyc_fsync(int fd);int wyc_fdatasync(int fd);int wyc_isatty(int fd);#endif

⌨️ 快捷键说明

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