《操作系统》的实验代码。
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

19 行
355 B

#ifndef __USER_LIBS_DIR_H__
#define __USER_LIBS_DIR_H__
#include <defs.h>
#include <dirent.h>
typedef struct {
int fd;
struct dirent dirent;
} DIR;
DIR *opendir(const char *path);
struct dirent *readdir(DIR *dirp);
void closedir(DIR *dirp);
int chdir(const char *path);
int getcwd(char *buffer, size_t len);
#endif /* !__USER_LIBS_DIR_H__ */