nuttx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [incubator-nuttx] patacongo commented on issue #959: Issues with variadic ioctl()
Date Sun, 03 May 2020 17:32:17 GMT

patacongo commented on issue #959:

   We went through this same discussion involving the wdot 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:

View raw message