Hi Alex,

At 2026-02-21T16:02:52+0100, Alejandro Colomar wrote:
> +.SH RETURN VALUE
> +.IR s+strlen(s) .

Too cute, in my opinion.  Use English.  :)

C novices struggle with pointer arithmetic as it is.  (Even non-novices
can, when working with exotic architectures with multiple memory models
like the x86's historical--and thankfully near-forgotten--`near` and
`far`.  Pointer arithmetic in the former can, if my vague recollection
is correct, do surprising stuff like wrap around a 64 KiB memory segment
without causing a fault.)

I assume that the string library reforms you're pursuing are intended in
part to be adopted by newcomers to C.  Avoiding cleverness when
presenting new interfaces can make them less scary.

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to