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

📄 libuser.h

📁 The main purpose of this project is to add a new scheduling algorithm to GeekOS and to implement a s
💻 H
字号:
/*  * Library of user space routines.  Most of these are direct *   wrappers for system calls. * */#include <stddef.h>typedef unsigned short Keycode;int Null(void);void Exit(void);int Print_String(const char* message);Keycode Get_Key(void);int Spawn_Program(char* program);int Wait(unsigned int pid);void *Malloc(unsigned int size);void* memset(void* s, int c, size_t n);void* memcpy(void *dst, const void* src, size_t n);size_t strlen(const char* s);int strcmp(const char* s1, const char* s2);char *strcat(char *s1, char *s2);char *strdup(char *s1);char *strcpy(char *s1, char *s2);

⌨️ 快捷键说明

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