IO package:unix
POSIX IO support. These types and functions correspond to the unix
functions open(2), close(2), etc. For more portable functions which
are more like fopen(3) and friends from stdio.h, see
System.IO.
The file's creation timestamp.
Time of last modification.
Time of last modification in sub-second resolution. Depends on the
timestamp resolution of the underlying filesystem.
The file's last modification timestamp.
setFileCreationMask mode sets the file mode creation mask to
mode. Modes set by this operation are subtracted from files
and directories upon creation. The previous file creation mask is
returned.
Note: calls umask.
Combines the two file modes into one that contains modes that appear
in either.
May throw an exception if this is an invalid descriptor.
May throw an exception if this is an invalid descriptor.
createSession calls
setsid to create a new session
with the current process as session leader.