Apps Components Interfaces All Files Source Tree | source: tos.lib.FS.Write.nc |
Required Interfaces |
Provided Interfaces |
Variables |
Function Index |
Function Descriptions |
newSize
bytes long. append
s that do not make the file take
more than newSize
bytes will not fail with FS_ERROR_NOSPACE.
Note: you can find the reserved size of a file by requesting a reserve
with a newSize of 0. The reserved
event will indicate the
space currently reserved.
Parameters: |
newSize - Size file is expected to grow to |
Returns: |
SUCCESS: attempt proceeds, reserved will be signaledFAIL: no file was open for writing, or a close/append/reserve/sync is in progress |
Returns: |
SUCCESS: attempt proceeds, synced will be signaledFAIL: no file was open for writing, or a close/append/reserve/sync is in progress |
Parameters: |
buffer - Data to write n - Number of bytes to write |
Returns: |
SUCCESS: attempt proceeds, appended will be signaledFAIL: no file was open for writing, or a close/append/reserve/sync is in progress |