3 ms·
It's only leaner in C if you know that the caller doesn't need a freshly-allocated string, and isn't going to free the pointer that you return.
by db48x 8y ago
It's only leaner in C if you know that the caller doesn't need a freshly-allocated string, and isn't going to free the pointer that you return.