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/11/20 14:27:27 UTC

[GitHub] [incubator-nuttx] patacongo commented on pull request #2326: libc: Enhance getopt function

patacongo commented on pull request #2326:
URL: https://github.com/apache/incubator-nuttx/pull/2326#issuecomment-731201603


   My recommendation is that you do not go in this direction.  It is not standard and totally inappropriate for used in a standards-based OS.
   
   My recommendation is that you consider using TLS to hold getopt() variables.  That is transparent to the user, retains that standard getopt() function, and does not not introduce new, non-portable OS interfaces.  That is against the spirit of Nutt.


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