fxlibc/src/posix/unistd/target/casiowin-fx/close.S

19 lines
296 B
ArmAsm

#include <bits/asm/unistd_32.h>
#include <bits/trapa.h>
.text
.global _close
.type _close, @function
.align 2
/*
** int close(int fd)
** close() closes a file descriptor, so that it no longer refers to any file
** and may be reused.
*/
_close:
casio_trapa(__NR_Bfile_CloseFile)
rts
nop
.end