<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >System.Posix.Files</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >System.Posix.Files</DIV ><DIV CLASS="mini-synopsis" ><H1 >File modes </H1 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AunionFileModes" TARGET="main" >unionFileModes</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AintersectFileModes" TARGET="main" >intersectFileModes</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AnullFileMode" TARGET="main" >nullFileMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AownerReadMode" TARGET="main" >ownerReadMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AownerWriteMode" TARGET="main" >ownerWriteMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AownerExecuteMode" TARGET="main" >ownerExecuteMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AownerModes" TARGET="main" >ownerModes</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgroupReadMode" TARGET="main" >groupReadMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgroupWriteMode" TARGET="main" >groupWriteMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgroupExecuteMode" TARGET="main" >groupExecuteMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgroupModes" TARGET="main" >groupModes</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AotherReadMode" TARGET="main" >otherReadMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AotherWriteMode" TARGET="main" >otherWriteMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AotherExecuteMode" TARGET="main" >otherExecuteMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AotherModes" TARGET="main" >otherModes</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetUserIDMode" TARGET="main" >setUserIDMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetGroupIDMode" TARGET="main" >setGroupIDMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AstdFileMode" TARGET="main" >stdFileMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AaccessModes" TARGET="main" >accessModes</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AfileTypeModes" TARGET="main" >fileTypeModes</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AblockSpecialMode" TARGET="main" >blockSpecialMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AcharacterSpecialMode" TARGET="main" >characterSpecialMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AnamedPipeMode" TARGET="main" >namedPipeMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AregularFileMode" TARGET="main" >regularFileMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AdirectoryMode" TARGET="main" >directoryMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsymbolicLinkMode" TARGET="main" >symbolicLinkMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsocketMode" TARGET="main" >socketMode</A ></DIV > <H2 >Setting file modes </H2 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetFileMode" TARGET="main" >setFileMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetFdMode" TARGET="main" >setFdMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetFileCreationMask" TARGET="main" >setFileCreationMask</A ></DIV > <H2 >Checking file existence and permissions </H2 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AfileAccess" TARGET="main" >fileAccess</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AfileExist" TARGET="main" >fileExist</A ></DIV > <H1 >File status </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="System-Posix-Files.html#t%3AFileStatus" TARGET="main" >FileStatus</A > </DIV > <H2 >Obtaining file status </H2 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgetFileStatus" TARGET="main" >getFileStatus</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgetFdStatus" TARGET="main" >getFdStatus</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgetSymbolicLinkStatus" TARGET="main" >getSymbolicLinkStatus</A ></DIV > <H2 >Querying file status </H2 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AdeviceID" TARGET="main" >deviceID</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AfileID" TARGET="main" >fileID</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AfileMode" TARGET="main" >fileMode</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AlinkCount" TARGET="main" >linkCount</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AfileOwner" TARGET="main" >fileOwner</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AfileGroup" TARGET="main" >fileGroup</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AspecialDeviceID" TARGET="main" >specialDeviceID</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AfileSize" TARGET="main" >fileSize</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AaccessTime" TARGET="main" >accessTime</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AmodificationTime" TARGET="main" >modificationTime</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AstatusChangeTime" TARGET="main" >statusChangeTime</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AisBlockDevice" TARGET="main" >isBlockDevice</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AisCharacterDevice" TARGET="main" >isCharacterDevice</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AisNamedPipe" TARGET="main" >isNamedPipe</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AisRegularFile" TARGET="main" >isRegularFile</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AisDirectory" TARGET="main" >isDirectory</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AisSymbolicLink" TARGET="main" >isSymbolicLink</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AisSocket" TARGET="main" >isSocket</A ></DIV > <H1 >Creation </H1 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AcreateNamedPipe" TARGET="main" >createNamedPipe</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AcreateDevice" TARGET="main" >createDevice</A ></DIV > <H1 >Hard links </H1 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AcreateLink" TARGET="main" >createLink</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AremoveLink" TARGET="main" >removeLink</A ></DIV > <H1 >Symbolic links </H1 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AcreateSymbolicLink" TARGET="main" >createSymbolicLink</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AreadSymbolicLink" TARGET="main" >readSymbolicLink</A ></DIV > <H1 >Renaming files </H1 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3Arename" TARGET="main" >rename</A ></DIV > <H1 >Changing file ownership </H1 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetOwnerAndGroup" TARGET="main" >setOwnerAndGroup</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetFdOwnerAndGroup" TARGET="main" >setFdOwnerAndGroup</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetSymbolicLinkOwnerAndGroup" TARGET="main" >setSymbolicLinkOwnerAndGroup</A ></DIV > <H1 >Changing file timestamps </H1 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetFileTimes" TARGET="main" >setFileTimes</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AtouchFile" TARGET="main" >touchFile</A ></DIV > <H1 >Setting file sizes </H1 > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetFileSize" TARGET="main" >setFileSize</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AsetFdSize" TARGET="main" >setFdSize</A ></DIV > <H1 >Find system-specific limits for a file </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="System-Posix-Files.html#t%3APathVar" TARGET="main" >PathVar</A > </DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgetPathVar" TARGET="main" >getPathVar</A ></DIV > <DIV CLASS="decl" ><A HREF="System-Posix-Files.html#v%3AgetFdPathVar" TARGET="main" >getFdPathVar</A ></DIV ></DIV ></DIV ></BODY ></HTML >