3 ms·
Looks fun. A couple of minor comments: * The copystring() function looks like you re-implemented strdup() from string.h. * The call to malloc() followed by a
by pjscott 11y ago
Looks fun. A couple of minor comments:
* The copystring() function looks like you re-implemented strdup() from string.h.
* The call to malloc() followed by a call to memset() to zero it can be replaced with a call to calloc(). This is faster on some platforms, and makes for cleaner code.