Linux kernel 清完 strncpy() 了

看到 Linux kernel 清完 strncpy 的消息了:「Linux Finally Eliminates The strncpy API After Six Years Of Work, 360+ Patches (via)」。 Linux 7.2 會是第一個 strncpy-free 的版本: Linux 7.2 has finally eliminated the strncpy API from the Linux kernel.

Gea-Suan Lin's BLOG

I love it when I read that great functions are copied from #OpenSource OS

#strlcat #strlcpy — size-bounded string concatenation and copying were adopted in glibc v2.38 and are now even in #POSIX 2K24

Great progress!

#programming #freeBSD #openBSD #100DaysOfCode

https://pubs.opengroup.org/onlinepubs/9799919799/functions/strlcat.html

strlcat

OpenBSD: Innovations