setFileMode path mode calls chmod to set the permission bits associated with file path to mode.
setFileCreationMask mode calls umask to set the process's file creation mask to mode. The previous file creation mask is returned.
getFileStatus path calls stat to get the FileStatus information for the file path.
getFdStatus fd calls fstat to get the FileStatus information for the file associated with Fd fd.
createNamedPipe fifo mode calls mkfifo to create a new named pipe, fifo, with permissions based on mode.
createLink old new calls link to create a new path, new, linked to an existing file, old.
removeLink path calls unlink to remove the link named path.
rename old new calls rename to rename a file or directory from old to new.
setOwnerAndGroup path uid gid calls chown to set the UserID and GroupID associated with file path to uid and gid, respectively.
setFileTimes path atime mtime calls utime to set the access and modification times associated with file path to atime and mtime, respectively.
touchFile path calls utime to set the access and modification times associated with file path to the current time.
getPathVar var path calls pathconf to obtain the dynamic value of the requested configurable file limit or option associated with file or directory path. For defined file limits, getPathVar returns the associated value. For defined file options, the result of getPathVar is undefined, but not failure.
getFdPathVar var fd calls fpathconf to obtain the dynamic value of the requested configurable file limit or option associated with the file or directory attached to the open channel fd. For defined file limits, getFdPathVar returns the associated value. For defined file options, the result of getFdPathVar is undefined, but not failure.