3 ms·
No, strdup uses a general purpose allocator to put a string in a random place on the heap. Quite the opposite of a well-structured approach. "It is complicated
by jstimpfle 4y ago
No, strdup uses a general purpose allocator to put a string in a random place on the heap. Quite the opposite of a well-structured approach.
"It is complicated so let's see if there is a simpler approach".