patacongo edited a comment on issue #959: URL: https://github.com/apache/incubator-nuttx/issues/959#issuecomment-623149173
We went through this same discussion involving the wdog wdparm_t type some time back. There was a Rube Goldberg-ish proposal to copy all of the data into an array of type wdparm_t instead of passing varargs to avoid varying sizes of arguments. Instead, I said that it was the caller's resposibility to cast each argument to wdparm_t. We can enforce that casting inside of the OS, but we cannot enforce that casting across the POSIX ioctl interface. ---------------------------------------------------------------- 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