os.h

来自「一个类linux的dos下开发的操作系统.」· C头文件 代码 · 共 21 行

H
21
字号
#ifndef __TL_OS_H
#define	__TL_OS_H

#ifdef __cplusplus
extern "C"
{
#endif

__inline__ int write(int handle, void *buf, unsigned len);
__inline__ int read(unsigned handle, void *buf, unsigned len);
__inline__ int ioctl(unsigned handle, unsigned char opcode, unsigned arg);
__inline__ int select(unsigned handle, unsigned long timeout);
__inline__ void sleep(unsigned long timeout);
__inline__ void yield(void);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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