Squash commits for public release
This commit is contained in:
8
libs/libc/sysdeps/unix/generic/ioctl.c
Normal file
8
libs/libc/sysdeps/unix/generic/ioctl.c
Normal file
@@ -0,0 +1,8 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <sysdep.h>
|
||||
|
||||
int ioctl(int fd, uintptr_t cmd, uintptr_t arg)
|
||||
{
|
||||
int res = DO_SYSCALL_3(SYS_IOCTL, fd, cmd, arg);
|
||||
RETURN_WITH_ERRNO(res, res, -1);
|
||||
}
|
||||
Reference in New Issue
Block a user