This commit is contained in:
Alcaro 2017-11-25 00:26:13 +01:00
parent 5999999cd3
commit b5722127c7

View File

@ -78,12 +78,12 @@ bool nbio_iterate(struct nbio_t* handle);
/* /*
* Resizes the file up to the given size; cannot shrink. * Resizes the file up to the given size; cannot shrink.
* Can not be done if the structure was created with nbio_read. * Can not be done if the structure was created with {N,}BIO_READ.
*/ */
void nbio_resize(struct nbio_t* handle, size_t len); void nbio_resize(struct nbio_t* handle, size_t len);
/* /*
* Returns a pointer to the file data. Writable only if structure was not created with nbio_read. * Returns a pointer to the file data. Writable only if structure was not created with {N,}BIO_READ.
* If any operation is in progress, the pointer will be NULL, but len will still be correct. * If any operation is in progress, the pointer will be NULL, but len will still be correct.
*/ */
void* nbio_get_ptr(struct nbio_t* handle, size_t* len); void* nbio_get_ptr(struct nbio_t* handle, size_t* len);