/*
 * ioctl.S
 */


#define ASM_FILE


#include<share/segment.h>
#include<sys/syscall.h>


.text


.globl ioctl
ioctl:
    movl	$SYS_IOCTL,%eax
	lcall	$SYSCALL4_SEG,$0
	subl	$4*5,%esp
	cmpl	$0,%eax
	js		sys_error
	ret
