Go to the documentation of this file.
94 struct file *fdd = 0x0;
101 if (fdd == 0 || fdd->
fd == 0x0) {
104 else if (
fd->
res != 0x0) {
136 struct file *fdd = 0x0;
138 struct stat *sb = 0x0;
149 if (fdd == 0 || fdd->
fd == 0x0) {
fileDescriptor_t * fopen(const char *file, const char *flags)
int sys_fstatat(struct thread *td, struct sys_fstatat_args *args)
int sys_statfs(struct thread *td, struct sys_statfs_args *args)
int strlen(const char *str)
int sys_lstat(struct thread *td, struct sys_lstat_args *args)
int sprintf(char *buf, const char *fmt,...)
int sys_fstat(struct thread *td, struct sys_fstat_args *args)
int fclose(fileDescriptor_t *fd)
int sys_stat(struct thread *td, struct sys_stat_args *args)
struct ufs2_dinode ufs2_i
int getfd(struct thread *td, struct file **fp, int fd)
get pointer to file fd in specified thread
int _sys_stat(char *path, struct stat *sb, int flags)
int sys_fstatfs(struct thread *td, struct sys_fstatfs_args *args)