by kmm · 15y ago · 0 comments
I find it lacking a lot of essential features -- can you believe strdup isn't part of the C standard? -- but simplicity and minimalism has always been C's strongest point.
(Pedanticness: Assuming a few things, like you don't have any references or pointers into the string).