...
Argument name_full
passed a NULL pointer.
Or entry error (see Section B.04 Device Error Codes).
Returned Value
None.
Notes/Warnings
...
- If
FS_FILE_ACCESS_MODE_TRUNC
is set, thenFS_FILE_ACCESS_MODE_WR
must also be set. - If
FS_FILE_ACCESS_MODE_EXCL
is set, thenFS_FILE_ACCESS_MODE_CREATE
must also be set. FS_FILE_ACCESS_MODE_RD
and/orFS_FILE_ACCESS_MODE_WR
must be set.The mode string argument of
Table 5-4fs_fopen()
function can specify a subset of the possible valid modes for this function. The equivalent modes offs_fopen()
mode strings are shown inthe table below.
fopen() Mode String
mode Equivalent
“r” or “rb”
FS_FILE_ACCESS_MODE_RD
“w” or “wb”
FS_FILE_ACCESS_MODE_WR |
FS_FILE_ACCESS_MODE_CREATE |
FS_FILE_ACCESS_MODE_TRUNC“a” or “ab”
FS_FILE_ACCESS_MODE_WR |
FS_FILE_ACCESS_MODE_CREATE |
FS_FILE_ACCESS_MODE_APPEND“r+” or “rb+” or “r+b”
FS_FILE_ACCESS_MODE_RD |
FS_FILE_ACCESS_MODE_WR“w+” or “wb+” or “w+b”
FS_FILE_ACCESS_MODE_RD |
FS_FILE_ACCESS_MODE_WR |
FS_FILE_ACCESS_MODE_CREATE |
FS_FILE_ACCESS_MODE_TRUNC“a+” or “ab+” or “a+b”
FS_FILE_ACCESS_MODE_RD |
FS_FILE_ACCESS_MODE_WR |
FS_FILE_ACCESS_MODE_CREATE |FS_FILE_ACCESS_MODE_APPEND
...