Fix return value comment for strlclr()

This commit is contained in:
2025-06-24 19:00:43 +02:00
parent 354024c1b7
commit 6cb90256e7

View File

@ -146,7 +146,7 @@ strclr:
;----- strlclr(char* str, int size) -----; ;----- strlclr(char* str, int size) -----;
; Replaces characters of a string with \0, using arg size ; Replaces characters of a string with \0, using arg size
; <!> DANGEROUS FUNCTION, it might exceed string boundaries if used incorrectly. Use strclr() instead! ; <!> DANGEROUS FUNCTION, it might exceed string boundaries if used incorrectly. Use strclr() instead!
; Function has no return value, rax is unmodified ; Function has no return value, rax will be 0 (0x0 stored in rax for opcode stosb)
strlclr: strlclr:
push rbp push rbp
mov rbp, rsp mov rbp, rsp