]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/blob - libc/arch-x86/syscalls/fsync.S
Initial Contribution
[android-sdk/platform-bionic.git] / libc / arch-x86 / syscalls / fsync.S
1 /* autogenerated by gensyscalls.py */
2 #include <sys/linux-syscalls.h>
4     .text
5     .type fsync, @function
6     .globl fsync
7     .align 4
9 fsync:
10     pushl   %ebx
11     mov     8(%esp), %ebx
12     movl    $__NR_fsync, %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
21 1:
22     popl    %ebx
23     ret