UbixOS  2.0
stat.c File Reference
#include <ubixos/errno.h>
#include <sys/sysproto.h>
#include <vfs/stat.h>
#include <vfs/file.h>
#include <lib/kprintf.h>
#include <sys/descrip.h>
Include dependency graph for stat.c:

Go to the source code of this file.

Functions

int _sys_stat (char *path, struct stat *sb, int flags)
 
int sys_fstat (struct thread *td, struct sys_fstat_args *args)
 
int sys_fstatat (struct thread *td, struct sys_fstatat_args *args)
 
int sys_fstatfs (struct thread *td, struct sys_fstatfs_args *args)
 
int sys_lstat (struct thread *td, struct sys_lstat_args *args)
 
int sys_stat (struct thread *td, struct sys_stat_args *args)
 
int sys_statfs (struct thread *td, struct sys_statfs_args *args)
 

Function Documentation

◆ _sys_stat()

◆ sys_fstat()

◆ sys_fstatat()

◆ sys_fstatfs()

◆ sys_lstat()

int sys_lstat ( struct thread td,
struct sys_lstat_args args 
)

Definition at line 297 of file stat.c.

References _sys_stat(), sys_lstat_args::path, sys_lstat_args::sb, STAT_LSTAT, and thread::td_retval.

Here is the call graph for this function:

◆ sys_stat()

int sys_stat ( struct thread td,
struct sys_stat_args args 
)

Definition at line 302 of file stat.c.

References _sys_stat(), sys_stat_args::path, STAT_LSTAT, thread::td_retval, and sys_stat_args::ub.

Here is the call graph for this function:

◆ sys_statfs()