Fix return value comment of fgettype
This commit is contained in:
@@ -50,7 +50,8 @@ lstat:
|
|||||||
|
|
||||||
;----- fgettype(*statBuffer[]) -----;
|
;----- fgettype(*statBuffer[]) -----;
|
||||||
; Gets file type from stat buffer
|
; 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:
|
; Used registers:
|
||||||
; rax* (ret)
|
; rax* (ret)
|
||||||
; rdi (arg) Pointer to statBuffer[]
|
; rdi (arg) Pointer to statBuffer[]
|
||||||
|
Reference in New Issue
Block a user