Fix return value comment of fgettype

This commit is contained in:
2025-07-27 16:29:02 +02:00
parent c40a59b4ff
commit 0d1a125782

View File

@@ -50,7 +50,8 @@ lstat:
;----- fgettype(*statBuffer[]) -----;
; Gets file type from stat buffer
; Return value: Permissions of given file or -EINVAL if statBuffer is invalid (first bit is 0)
; Return value: File type or -EINVAL if statBuffer is invalid (first bit is 0)
; See src/constants/file.asm for file types (S_IFxxx, eg S_IFREG for regular files)
; Used registers:
; rax* (ret)
; rdi (arg) Pointer to statBuffer[]