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/05/03 18:04:25 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #959: Issues with variadic ioctl()

xiaoxiang781216 commented on issue #959:
URL: https://github.com/apache/incubator-nuttx/issues/959#issuecomment-623154003


   But from https://pubs.opengroup.org/onlinepubs/009604599/functions/ioctl.html:
   The arg argument represents additional information that is needed by this specific STREAMS device to perform the requested function. The type of arg depends upon the particular control request, but it shall be either an integer or a pointer to a device-specific data structure.
   ioctl just accept one argument either an integer or pointer even it has variadic argument list. It is different from wdog which really accept the different number of arguments.


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