nn::hio::CTR::HostFile::Write Member Function#include <nn/hio.h> Result Write( size_t * pWritten, const void * buf, size_t size );
| Name | Description | |
|---|---|---|
| out | pWritten | Stores the actual number of bytes that were written. |
| in | buf | Pointer to the buffer that stores the data to be written. |
| in | size | Maximum number of bytes to write. |
Writes the specified amount of data from the buffer to a file and returns the result of the operation.
Up to size bytes of data are written to the file from the region at the address specified by buf.
The function stores the number of written bytes to pWritten and returns a nn::Result-type process result.
CONFIDENTIAL