SysStatStdc extension

POSIX file status utilities

on

Properties

S_IFBLK int

Available on Stdc, provided by the SysStatStdc extension

Block device
no setter
S_IFCHR int

Available on Stdc, provided by the SysStatStdc extension

Character device
no setter
S_IFDIR int

Available on Stdc, provided by the SysStatStdc extension

Directory
no setter
S_IFIFO int

Available on Stdc, provided by the SysStatStdc extension

FIFO
no setter
S_IFLNK int

Available on Stdc, provided by the SysStatStdc extension

Symbolic link
no setter
S_IFMT int

Available on Stdc, provided by the SysStatStdc extension

Bit mask for the file type bit field
no setter
S_IFREG int

Available on Stdc, provided by the SysStatStdc extension

Regular file
no setter
S_IFSOCK int

Available on Stdc, provided by the SysStatStdc extension

Socket
no setter
S_IRUSR int

Available on Stdc, provided by the SysStatStdc extension

Read permission, owner
no setter
S_IRWXU int

Available on Stdc, provided by the SysStatStdc extension

Read, write, execute/search by owner
no setter
S_IWUSR int

Available on Stdc, provided by the SysStatStdc extension

Write permission, owner
no setter
S_IXUSR int

Available on Stdc, provided by the SysStatStdc extension

Execute/search permission, owner
no setter

Methods

chmod(String pathname, int mode) int

Available on Stdc, provided by the SysStatStdc extension

Change permissions of a file. (Stubbed, as dart:io lacks direct synchronous chmod without invoking shell).
mkdir(String pathname, int mode) int

Available on Stdc, provided by the SysStatStdc extension

Make a directory. Note: mode is ignored in Dart's Directory.createSync.
stat(String pathname, Stat statbuf) int

Available on Stdc, provided by the SysStatStdc extension

Get file status.