mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2025-04-19 17:37:09 +02:00
18 lines
292 B
ArmAsm
18 lines
292 B
ArmAsm
#include <bits/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
|