mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
Sync SDL3 wiki -> header
[ci skip]
This commit is contained in:
parent
95c8a1cf7c
commit
7c5a2cd462
1 changed files with 6 additions and 6 deletions
|
@ -543,10 +543,10 @@ extern SDL_DECLSPEC Sint64 SDLCALL SDL_TellIO(SDL_IOStream *context);
|
|||
* This function reads up `size` bytes from the data source to the area
|
||||
* pointed at by `ptr`. This function may read less bytes than requested.
|
||||
*
|
||||
* This function will return zero when the data stream is completely read,
|
||||
* and SDL_GetIOStatus() will return SDL_IO_STATUS_EOF. If zero is returned
|
||||
* and the stream is not at EOF, SDL_GetIOStatus() will return a different
|
||||
* error value and SDL_GetError() will offer a human-readable message.
|
||||
* This function will return zero when the data stream is completely read, and
|
||||
* SDL_GetIOStatus() will return SDL_IO_STATUS_EOF. If zero is returned and
|
||||
* the stream is not at EOF, SDL_GetIOStatus() will return a different error
|
||||
* value and SDL_GetError() will offer a human-readable message.
|
||||
*
|
||||
* \param context a pointer to an SDL_IOStream structure.
|
||||
* \param ptr a pointer to a buffer to read data into.
|
||||
|
@ -744,8 +744,8 @@ extern SDL_DECLSPEC bool SDLCALL SDL_SaveFile(const char *file, const void *data
|
|||
*
|
||||
* \param src the SDL_IOStream to read from.
|
||||
* \param value a pointer filled in with the data read.
|
||||
* \returns true on success or false on failure or EOF; call SDL_GetError() for more
|
||||
* information.
|
||||
* \returns true on success or false on failure or EOF; call SDL_GetError()
|
||||
* for more information.
|
||||
*
|
||||
* \since This function is available since SDL 3.1.3.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue