::
Re: [DNG] Learning C (books)
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Esta mensagem é parte da seguinte discussão:
Árvore completa da discussão ordenada por data
Didier Kryn em
2024-10-06 10:30
Didier Kryn em
2024-10-06 13:13
Autor:
kc-devuan
Data:
2024-10-06 10:58
UTC
Para:
dng
Assunto:
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