juniskane commented on pull request #2488: URL: https://github.com/apache/incubator-nuttx/pull/2488#issuecomment-742660039
> I don't understand what we're arguing about, Whatever the name you like to call it getentropy,arc4random_ buf, it's up to you. > but could you please bring the naming getrandom() back to POSIX ? > > Seriously, no one cares about your implementation,I only care about whether the definition of user interface can be easily accepted by everyone. > Application developers only need to check the man page from POSIX !!! > > https://www.unix.com/man-page/posix/2/getrandom/ That is just the Linux man page for getrandom(). I am well familiar with Linux getrandom(2) as my colleagues and I studied it back in 2015 when we decided to improve the interface instead of mindlessly copying Linux. You seem to confuse POSIX with Linux manpages? getrandom() has never been in any standards, be they formal international standards or industry group de-facto standards. Please see my reply to Xiao Xiang in https://github.com/apache/incubator-nuttx/pull/2497, I suggest you read in detail everything referenced there and in this thread as there is more to this topic than just the prototype. LKML mailing list has also had extensive discussions about getrandom(). ---------------------------------------------------------------- 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: us...@infra.apache.org