Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
As an aside...
strdup
is a POSIX function, not a C function (unless one considers pending TRs). As such, this code will not compile when targeting a non-UNIX environment.Looks like I inadvertently left a superfluous cast to
int
. Oh well. It doesn't result in any extra code once compiled.Yeah, I missed a chance at an early exit and only checked the size of the array at the end. I blame Friday night forgetfulness. ;)