glibc misc/sys/cdefs.h nonull - typo in comment

Xi Ruoyao xry111@xry111.site
Wed Apr 12 16:31:11 GMT 2023


On Thu, 2023-04-13 at 00:26 +0800, Xi Ruoyao via Libc-alpha wrote:
> size_t
> f (const char *s)
> {
>   return s ? strlen (r) : 0;

Sorry, obviously I mean "strlen (s)" here.

> }

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the Libc-alpha mailing list