Const
File open mode flags (corresponding to C string flags)
'r' (read-only), 'w' (write-create), 'r+' (read-write), 'a' (append) Copy
'r' (read-only), 'w' (write-create), 'r+' (read-write), 'a' (append)
Write-only (append)
Write-only (exclusive create)
Read-only
Read-write (append)
Read-write (exclusive create)
Read-write (create or truncate)
Write-only (create or truncate)
File open mode flags (corresponding to C string flags)
Example