stat

@extern
object stat
class Object
trait Matchable
class Any
stat.type

Type members

Types

type blkcnt_t = CLongLong
type blksize_t = CLong
type dev_t = CUnsignedLong
type gid_t = CUnsignedInt
type ino_t = CUnsignedLongLong
type mode_t = CUnsignedInt
type uid_t = CUnsignedInt

Value members

Concrete methods

@name("scalanative_s_irgrp")
@name("scalanative_s_iroth")
@name("scalanative_s_irusr")
@name("scalanative_s_isblk")
def S_ISBLK(mode: mode_t): CInt
@name("scalanative_s_ischr")
def S_ISCHR(mode: mode_t): CInt
@name("scalanative_s_isdir")
def S_ISDIR(mode: mode_t): CInt
@name("scalanative_s_isfifo")
def S_ISFIFO(mode: mode_t): CInt
@name("scalanative_s_isgid")
@name("scalanative_s_islnk")
def S_ISLNK(mode: mode_t): CInt
@name("scalanative_s_isreg")
def S_ISREG(mode: mode_t): CInt
@name("scalanative_s_issock")
def S_ISSOCK(mode: mode_t): CInt
@name("scalanative_s_isuid")
@name("scalanative_s_isvtx")
@name("scalanative_s_iwgrp")
@name("scalanative_s_iwoth")
@name("scalanative_s_iwusr")
@name("scalanative_s_ixgrp")
@name("scalanative_s_ixoth")
@name("scalanative_s_ixusr")
@name("scalanative_chmod")
def chmod(pathname: CString, mode: mode_t): CInt
@name("scalanative_fchmod")
def fchmod(fd: CInt, mode: mode_t): CInt
@name("scalanative_fstat")
def fstat(fildes: CInt, buf: Ptr[stat]): CInt
@name("scalanative_lstat")
def lstat(path: CString, buf: Ptr[stat]): CInt
@name("scalanative_mkdir")
def mkdir(path: CString, mode: mode_t): CInt
@name("scalanative_stat")
def stat(path: CString, buf: Ptr[stat]): CInt