Fix return value comment for fwrite()
This commit is contained in:
2
file.asm
2
file.asm
@ -101,7 +101,7 @@ fclose:
|
|||||||
ret
|
ret
|
||||||
;----- fwrite(FILE* fp, char* str) -----;
|
;----- fwrite(FILE* fp, char* str) -----;
|
||||||
; writes a string to opened file
|
; writes a string to opened file
|
||||||
; return value: 0 on success, below 0 otherwise (neg errno)
|
; return value: amount of written characters on success, below 0 otherwise (neg errno)
|
||||||
fwrite:
|
fwrite:
|
||||||
push rbp
|
push rbp
|
||||||
mov rbp, rsp
|
mov rbp, rsp
|
||||||
|
Reference in New Issue
Block a user