::
Re: [DNG] Learning C (books)
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Aquest missatge és part del següent fil:
l'arbre de fils complet ordenat per data
Didier Kryn en
2024-10-06 10:30
Didier Kryn en
2024-10-06 13:13
Autor:
kc-devuan
Data:
2024-10-06 10:58
UTC
A:
dng
Assumpte:
Re: [DNG] Learning C (books)
I learnt from K&R among others and like S Litt I dislike things like convoluted one liners. One was supposedly by Dennis Ritchie if I recall correctly which took writing it into multiple lines to understand it.
> $ man strcpy
Have you heard of strlcpy?
https://www.openbsd.org/papers/strlcpy-paper.pdf
https://man.openbsd.org/strlcpy
regards, kc