Advanced File I/O

The following table lists the tasks performed by advanced file I/O interfaces.

Table 5-2 Advanced File I/O Interfaces

Interface Name Purpose

link, linkat

Link to a file. For more information, see the link(2) and linkat(2) man pages.

access, faccessat

Determine accessibility of a file. For more information, see the access(2) and faccessat(2) man pages.

mknod

Make a special or ordinary file. For more information, see the mknod(2) man page.

chmod, fchmodat

Change mode of file. For more information, see the chmod(2) and fchmodat(2)

chown, lchown, fchown, fchownat

Change owner and group of a file. For more information, see the chown(2), lchown(2), fchown(2), and fchownat(2) man pages.

utime

Set file access and modification times. For more information, see the utime(2) man page.

stat, lstat, fstat, fstatat

Get file status. For more information, see the stat(2), lstat(2), fstat(2), and fstatat(2) man pages.

fcntl

Perform file control functions. For more information, see the fcntl(2) man page.

ioctl

Control device. For more information, see the ioctl(2) man page.

fpathconf

Get configurable path name variables. For more information, see the fpathconf(2) man page.

opendir, readdir, closedir

Perform directory operations. For more information, see the opendir(3C), readdir(3C), and closedir(3C) man pages.

mkdir, mkdirat

Make a directory. For more information, see the mkdir(2) and mkdirat(2) man pages.

readlink, readlinkat

Read the value of a symbolic link. For more information, see the readlink(2) and readlinkat(2) man pages.

rename, renameat

Change the name of a file. For more information, see the rename(2) and renameat(2) man pages.

rmdir, unlinkat

Remove a directory. For more information, see the rmdir(2) and unlinkat(2) man pages.

symlink, symlinkat

Make a symbolic link to a file. For more information, see the symlink(2) and symlinkat(2) man pages.

fgetattr, fsetattr, getattrat, setattrat

Get and set system attributes. For more information, see the fgetattr(3C), fsetattr(3C), getattrat(3C), and setattrat(3C) man pages.

For more information, see syscall Provider in Oracle Solaris 11.4 DTrace (Dynamic Tracing) Guide.