blob: 0fe52bf0a3e26fe38396cb022704b9f563cc83b1 [file] [log] [blame]
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -07001/* autogenerated by gensyscalls.py */
2#include <sys/linux-syscalls.h>
3
4 .text
5 .type unlink, @function
6 .globl unlink
7 .align 4
8
9unlink:
10 pushl %ebx
11 mov 8(%esp), %ebx
12 movl $__NR_unlink, %eax
13 int $0x80
14 cmpl $-129, %eax
15 jb 1f
16 negl %eax
17 pushl %eax
18 call __set_errno
19 addl $4, %esp
20 orl $-1, %eax
211:
22 popl %ebx
23 ret