pkarashchenko commented on PR #9199:
URL: https://github.com/apache/nuttx/pull/9199#issuecomment-1540803188

   > > I'm not arguing that Linux glibc still uses `ESRCH`. The question is, 
should NuttX be Linux compliant or POSIX compliant? I think we know the answer. 
If POSIX does not specify `ESRCH` error code and even more, state that it 
should not be returned, so I do not see a reason for adding it.
   > 
   > Here is my thought:
   > 
   > 1. If the behavior is explicitly specified by POSIX, follow it
   > 2. If POSIX say it's implemented defined or not mention at all, follow 
other OS(e.g. Linux/FreeBSD)
   > 
   > Does this make sense?
   > 
   > 
   
   Yes. But I would also say that if behavior is explicitly specified by POSIX, 
the links to POSIX spec should be specified, not the link to other OS manual 
pages.
   If the functionality goes beyond POSIX then we can rely on description from 
other OS.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to