/*
 * select.S
 */


#define ASM_FILE


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


.text


.globl select
select:
    movl	$SYS_SELECT,%eax
	lcall	$SYSCALL5_SEG,$0
	subl	$4*6,%esp
	cmpl	$0,%eax
	js		sys_error
	ret
