You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/12/07 14:25:02 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #2488: libs/libc: correct the getrandom(2) prototype

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


   > I'm opposed to this as the new flags don't do anything, they are just cruft copied over from Linux.
   > 
   > NuttX is a new OS, it does not have to copy every non-standard feature from Linux.
   
   But why do you have the right to add a new function which doesn't follow OpenGroup or other Unix variant? If you have this right, does it mean I also can add any funcitons I like?
   getrandom has the same prototype in both FreeBSD and Linux:
   https://www.freebsd.org/cgi/man.cgi?query=getrandom&sektion=2&manpath=freebsd-release-ports
   https://man7.org/linux/man-pages/man2/getrandom.2.html
   I don't think that there is any reason why we don't follow them.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org