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

📄 jazmyn.h

📁 Jazmyn is a 32-bit, protected mode, multitasking OS which runs on i386 & above CPU`s. Its complete
💻 H
字号:
#ifndef _JAZMYN_H
#define _JAZMYN_H

#include "stdio.h"
#include "dirent.h"

#ifdef __cplusplus
extern "C" {
#endif

int		fork();
int		execve(const char *__path,const char **__argv,const char **__env);
void		_exit(int __exit_code);
int		waitpid(int __child_pid,int *__status,int __options);
int		wait(int *__status);
void		delay(uint __millisec);
int		open(const char* __path,int __access,mode_t __perm);
int		creat(const char* __path,mode_t __perm);
off_t		lseek(int __fd,off_t __pos,int __whence);
ssize_t     read(int __fd,void *__buf,size_t __size);
ssize_t     write(int __fd,const void *__buf,size_t __size);
int		close(int __fd);
int		unlink(const char *__link);
int		fstat(int __fd,stat *__statv);
DIR*        opendir(const char *__path);
dirent*     readdir(DIR *__dir_fd);
void		rewinddir(DIR *__dir_fd);
int		closedir(DIR *__dir_fd);
int		mkdir(const char *__path,mode_t __mode);
int		rmdir(const char *__path);
int		chdir(const char *__path);
int		chroot(char __root_drive);

#ifdef __cplusplus
}
#endif

#endif

⌨️ 快捷键说明

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