Fix return value comment of fgettype
This commit is contained in:
@@ -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[]
|
||||
|
Reference in New Issue
Block a user