Declarations
Public Only
type dev_t = u64
Use: include this file where you declare fstat, lstat, fstatat usage.
type off_t = i64
@typedef off_t
File offset type, used for file sizes and positions.
func stat(pathname : *char, buf : *Stat) : int
@brief Get file status.
Parameters
- pathname Path to the file. @param buf Pointer to a Stat struct to fill. @return 0 on success, –1 on error.
- buf Pointer to a Stat struct to fill. @return 0 on success, –1 on error.
Returns
0 on success, –1 on error.