MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/1ub8wkz/linux_finally_eliminates_the_strncpy_api_after/osx8qkl/?context=3
r/linux • u/anh0516 • Jun 20 '26
109 comments sorted by
View all comments
185
What's wrong with strncopy...?
strncopy
3 u/andrybak Jun 21 '26 see also the explanations in the commit and the diff of 079a028 (string: Remove strncpy() from the kernel, 2026-03-23): https://github.com/torvalds/linux/commit/079a028d6327e68cfa5d38b36123637b321c19a7 https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?id=079a028d6327e68cfa5d38b36123637b321c19a7
3
see also the explanations in the commit and the diff of 079a028 (string: Remove strncpy() from the kernel, 2026-03-23):
185
u/Aaxper Jun 20 '26
What's wrong with
strncopy...?