FILE PERMISSONS
'r' |
Open file for reading.
|
'w' |
Open or create new file for writing. Discard existing contents, if any.
|
'a' |
Open or create new file for writing. Append data to the end of the file.
|
'r+' |
Open file for reading and writing.
|
'w+' |
Open or create new file for reading and writing. Discard existing contents, if any.
|
'a+' |
Open or create new file for reading and writing. Append data to the end of the file.
|
'A' |
Open file for appending without automatic flushing of the current output buffer.
|
'W' |
Open file for writing without automatic flushing of the current output buffer.
|
Yorumlar
Yorum Gönder