MWRITE
|
0
|
Write access, file will be overwritten or created
|
MREAD
|
1
|
Read access, file will only be opened for reading
|
MRDWR
|
2
|
Read- and Write access, the file will be overwritten or created
|
MAPPD
|
3
|
File will be opened in WRITE mode, but the written data will be appended at the end of the file.
|