diff --git a/src/file.asm b/src/file.asm index df23a1f..0645407 100644 --- a/src/file.asm +++ b/src/file.asm @@ -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[]