Parameter | Description | Comments |
---|---|---|
dfd |
A file descriptor that refers to an open directory | If pathname is relative and dfd is AT_FDCWD, then pathname is interpreted relative to the current working directory of the calling process |
filename |
The filename of the file being created | - |
flags |
Additional behavior for opening the file (in HEX) | - |
mode |
Specifies the permissions to use in case a new file is created (in OCT) | Will be ignored if O_CREAT or O_TMPFILE is not specified |
Parameter | Description | Comments |
---|---|---|
dfd (unlinkat) |
A file descriptor that refers to an open directory | As mentioned above |
pathname |
The name of the file being deleted, including the path (if specified) | - |
flag (unlinkat) |
Additional behavior for deleting the file | - |
Also file moving
Parameter | Description | Comments |
---|---|---|
olddfd (renameat,renameat2) |
The file descriptor of the directory containing the file to be renamed | - |
oldname |
The path and name of the file to be renamed | - |
newdfd (renameat,renameat2) |
The file descriptor of the directory where the file will be moved to | - |
newname |
The new name of the file | - |
flags (renameat2) |
Additional behavior for renaming the file | - |
Parameter | Description | Comments |
---|---|---|
dfd |
A file descriptor that refers to an open directory | As mentioned above |
filename |
The filename of the file being opened | - |
flags |
Additional behavior for opening the file (in HEX) | - |
mode |
Specifies the permissions to use in case a new file is created (in OCT) | Will always be 0 when opening a file |
Parameter | Description | Comments |
---|---|---|
dfd (fchmod,fchmodat) |
A file descriptor that refers to an open directory | As mentioned above |
filename (chmod,fchmodat) |
The filename of the file being set | - |
mode |
The updated mode value |
- |
Parameter | Description | Comments |
---|---|---|
filename |
The filename of the file being queried | - |
mode |
The file type and mode | - |
uid |
The user id of the owner | - |
gid |
The group id of the owner | - |
inode |
The inode number of the file |
under development |
Parameter | Description | Comments |
---|---|---|
filename (chdir) |
The directory after changing the process working directory | - |
dfd (fchdir) |
A file descriptor that refers to an open directory | - |
Parameter | Description | Comments |
---|---|---|
filename |
The directory being created | - |
mode |
Specifies the permissions to be set for the newly created directory |
Parameter | Description | Comments |
---|---|---|
filename |
The directory being deleted | - |
Parameter | Description | Comments |
---|---|---|
count |
The maximum number of bytes that can be read from the file | - |
inode |
The inode number of the current file |
- |
uid |
The user id of the file's owner | - |
mode |
The file type and permissions | - |
filename |
The name of the current file | - |
Parameter | Description | Comments |
---|---|---|
count |
The maximum number of bytes that can be write to the file | - |
inode |
The inode number of the current file |
- |
uid |
The user id of the file's owner | - |
mode |
The file type and permissions | - |
filename |
The name of the current file | - |
Parameter | Description | Comments |
---|---|---|
olddfd |
A file descriptor that refers to an open directory | As mentioned above |
newdfd (dup2) |
A file descriptor that refers to an open directory | As mentioned above |
Parameter | Description | Comments |
---|---|---|
dfd |
A file descriptor that refers to an open directory | As mentioned above |
Parameter | Description | Comments |
---|---|---|
dfd (ftruncate) |
A file descriptor that refers to an open directory | As mentioned above |
path (truncate) |
The path and name of the file to be created truncated | - |
length |
The size of new file | - |
Parameter | Description | Comments |
---|---|---|
olddfd (linkat) |
The file descriptor of the directory containing the file to be created link | - |
oldname |
The path and name of the file to be created link | - |
newdfd (linkat) |
The file descriptor of the directory where the file will be linked to | - |
newname |
The new name of the file | - |
flags (linkat) |
Additional behavior for creating link of the file | - |
Parameter | Description | Comments |
---|---|---|
oldname |
The path and name of the file to be created symbolic link | - |
newdfd (symlinkat) |
The file descriptor of the directory where the file will be linked to | - |
newname |
The new name of the file | - |