diff options
author | John van Groningen | 2003-10-06 12:32:44 +0000 |
---|---|---|
committer | John van Groningen | 2003-10-06 12:32:44 +0000 |
commit | 9091360c8ef8e29297aafb2d2c45af36909e37e6 (patch) | |
tree | 84a3376ad679716a4c844f5167eb1fe0b20e2e9c /ifileIO3.s | |
parent | add assembly files for solaris (diff) |
add flushF
Diffstat (limited to 'ifileIO3.s')
-rw-r--r-- | ifileIO3.s | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -55,6 +55,7 @@ fwritestring_error: .globl positionF .globl seekF .globl shareF + .globl flushF .globl openSF .globl readSFC @@ -95,6 +96,7 @@ fwritestring_error: .globl @file_position .globl @file_seek .globl @file_share + .globl @flush_file_buffer .globl @open_s_file .globl @file_read_s_char @@ -501,7 +503,16 @@ shareF: movl $-1,d0 ret - + +flushF: + pushl d1 + call @flush_file_buffer + movl 4(sp),a2 + xchg d0,d1 + movl $-1,4(sp) + movl a2,(sp) + ret + openSF: pushl d0 addl $4,a0 pushl a0 |