These are similar to memdup() and newdup(), but reserve one extra NUL byte at the end of the new allocation and initialize it. It's useful when copying out data from fixed size character arrays where NUL termination can't be assumed.
This should be handled fine now by .dir-locals.el, so need to carry that stuff in every file.
This is a cleaned up result of running iwyu but without forward declarations on src/basic.