Code Block | ||
---|---|---|
| ||
void FSEntry_AttribSet (CPU_CHAR *name_full, |
...
FS_FLAGS attrib, |
...
FS_ERR *p_err); |
File | Called from | Code enabled by |
---|---|---|
| Application | not |
...
Returned Value
None.
Notes/Warnings
- If the entry does not exist, an error is returned.
Three attributes may be modified by this function:
FS_ENTRY_ATTRIB_RD
Entry is readable. FS_ENTRY_ATTRIB_WR
Entry is writable. FS_ENTRY_ATTRIB_HIDDEN
Entry is hidden from user-level processes.
An attribute will be cleared if its flag is not OR’d into
attrib
. An attribute will be set if its flag is OR’d intoattrib
. If another flag besides these are set, then an error will be returned.- The attributes of the root directory may not be set.