File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ RTM_EXPORT(rt_device_close);
307307 *
308308 * @param size is the size of buffer.
309309 *
310- * @return the actually read size on successful, otherwise negative returned.
310+ * @return the actually read size on successful, otherwise zero returned.
311311 *
312312 * @note since 0.4.0, the unit of size/pos is a block for block device.
313313 */
@@ -350,7 +350,7 @@ RTM_EXPORT(rt_device_read);
350350 *
351351 * @param size is the size of buffer.
352352 *
353- * @return the actually written size on successful, otherwise negative returned.
353+ * @return the actually written size on successful, otherwise zero returned.
354354 *
355355 * @note since 0.4.0, the unit of size/pos is a block for block device.
356356 */
You can’t perform that action at this time.
0 commit comments