Hi Rodrigo,
On Tue, Feb 13, 2024 at 12:16:06AM +0100, Rodrigo Campos wrote:
On 2/11/24 11:48, Willy Tarreau wrote:I've read it as well and I don't interpret it the same way. I'm reading it
Hi Rodrigo,
as "if dst doesn't contain a NUL char before size, its length is considered
to be size", and the reason is explicitly explained just after:
How are you measuring it there?
Sorry, I'm not familiar with this :)
Oh, sorry for not providing the detalis! I just remove "static" in front
of the function.
I've been playing, but as I can't measure the size, I'm not sure what is
really better. I'd like to play a little once I know how to measure it :)
Be careful not to spend too much time on it, nm --size and objdump are
quickly addictive ;-)