We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 730a0bb + 3bd2e21 commit 589014dCopy full SHA for 589014d
1 file changed
src/device.c
@@ -307,7 +307,7 @@ RTM_EXPORT(rt_device_close);
307
*
308
* @param size is the size of buffer.
309
310
- * @return the actually read size on successful, otherwise negative returned.
+ * @return the actually read size on successful, otherwise zero returned.
311
312
* @note since 0.4.0, the unit of size/pos is a block for block device.
313
*/
@@ -350,7 +350,7 @@ RTM_EXPORT(rt_device_read);
350
351
352
353
- * @return the actually written size on successful, otherwise negative returned.
+ * @return the actually written size on successful, otherwise zero returned.
354
355
356
0 commit comments