unistd.h
来自「c语言库函数!里面包含了所以c语言中的系统函数的实现及其详细说明和代码!请大家及」· C头文件 代码 · 共 40 行
H
40 行
/* +++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 + =
减小字号Ctrl + -
显示快捷键?