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

📄 unistd.h

📁 C语言库函数的源代码,是C语言学习参考的好文档。
💻 H
字号:
/* +++Date last modified: 05-Jul-1997 */

/*
**  UNISTD.H - Posix-compliant header for porting code to DOS
**             systems which lack this standard header file.
**
**  public domain by Bob Stout
*/

#ifndef __UNISTD_H      /* Use same macro as Symantec to avoid collision */
#define __UNISTD_H


#include <io.h>
#include <process.h>
#include <stdio.h>
#include "stat.h"

#ifndef F_OK
 #define F_OK    0      /* File exists          */
 #define X_OK    1      /* File is executable   */
 #define W_OK    2      /* File is writable     */
 #define R_OK    4      /* File is readable     */
#endif

#undef dirent
#undef DIR

#if !defined(__TURBOC__)
 #include <direct.h>
#else
 #include <dir.h>
#endif

#define dirent DIRENT_
#define DIR DIR_


#endif /* __UNISTD_H */

⌨️ 快捷键说明

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