xiaoxiang781216 commented on pull request #5418:
URL: https://github.com/apache/incubator-nuttx/pull/5418#issuecomment-1031734069


   > Not disagreeing with this change. Just want to point out that it's a 
nonportable Linux interface. (Doesn't exist on e.g., BSD.)
   > 
   > In the past I suggested that it is okay to include Linux and BSD APIs that 
are not in POSIX, but I suggested to add a Kconfig for each:
   > 
   > CONFIG_LINUX_APIS CONFIG_BSD_APIS
   > 
   > To get the Linux and/or BSD APIs, the user would enable one or both of 
these.
   > 
   > When enabling both, there might be some complications: Some APIs are 
different across Linux/BSD (different parameters or return types, etc).
   
   There already have many BSD or Linux specific API, it's better to create new 
PR to do the change in batch.
   


-- 
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