Mode |
Description |
1
|
the file must exist and is opened for read only.
|
2
|
the file must not already exist (if it does an error will be re
turned) and the file is created read/write.
|
3
|
the file is created read/write and when closed, any pre-ex
isting file will be deleted.
|
5
|
the file must exist and is opened for read/write.
|
7
|
a temporary file is created. The file will be deleted when it
is closed.
|