URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [linux/] [uClibc/] [libc/] [sysdeps/] [linux/] [common/] [ioctl.c] - Rev 1765
Compare with Previous | Blame | View Log
#include <stdarg.h> #include <sys/ioctl.h> extern int __syscall_ioctl(int fd, int request, void *arg); /* powerpc has its own special version... */ int ioctl(int fd, unsigned long int request, ...) { void *arg; va_list list; va_start(list, request); arg = va_arg(list, void *); va_end(list); return __syscall_ioctl(fd, request, arg); }