-
Notifications
You must be signed in to change notification settings - Fork 253
Description
osal/src/os/shared/src/osapi-file.c
Line 208 in afb5f7b
| return_code = OS_GenericRead_Impl(&token, buffer, nbytes, timeout); |
Not sure which layer of abstraction to report this but the comment states that a timeout should return 0. However, on Linux/portable BSD... the eventual call to OS_DoSelect is returning OS_ERROR_TIMEOUT (-4) and flowing that all the to the OS_TimedRead API. I would prefer it to be "caught" and returned as 0 at some point but.. more than anything.. just need the comment to match.
Reactions are currently unavailable