Files
klibc/file.asm
2025-07-24 14:56:12 +02:00

18 lines
252 B
NASM

%include "src/constants.asm"
section .rodata
section .bss
section .text
global fexist
;----- fexist(*file[]) -----;
; Checks if given file exists
; Return value: 1 if file exists, 0 otherwise
; Used registers:
; rax* (ret)
fexist:
xor rax, rax