mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 08:54:05 +08:00
d81a28097a
When the nread return value < 0, if the total length ntotal that has been read is > 0, the function returns ntotal; otherwise, it returns the nread error code. Signed-off-by: zhongzhijie1 <zhongzhijie1@xiaomi.com>