Re:C Strings and my slow descent to madness
by js2 on Thursday April 06, 2023 @11:06AM
(#35469327)
Programs which have to deal with C strings beyond the bare minimum that libc provides will generally have a set of routines for making it more ergonomic. e.g.:
https://github.com/git/git/blob/master/strbuf.h