/*
 * symlink.S
 */


#define ASM_FILE


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


.text


.globl symlink
symlink:
    movl	$SYS_SYMLINK,%eax
	lcall	$SYSCALL2_SEG,$0
	subl	$4*(2+1),%esp
	cmpl	$0,%eax
	js		sys_error
	ret
