mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-26 15:25:54 +00:00
As extend fdtable usage to more cases, there regularly arises a need to forward ioctl/fcntl arguments to another ioctl vmethod, which is complicated because it defined as taking variadic arguments. The only portable solution is to convert variadic arguments to va_list at the first point of entry from client code, and then pass va_list around. To facilitate calling ioctl with variadic arguments from system code, z_fdtable_call_ioctl() helper function is added. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org> |
||
---|---|---|
.. | ||
clock.c | ||
CMakeLists.txt | ||
fs.c | ||
Kconfig | ||
mqueue.c | ||
pthread_barrier.c | ||
pthread_common.c | ||
pthread_cond.c | ||
pthread_key.c | ||
pthread_mutex.c | ||
pthread_rwlock.c | ||
pthread_sched.c | ||
pthread.c | ||
semaphore.c | ||
sleep.c | ||
timer.c |