Initialize the pattern matching subsystem.
void strpattern_init(int *err)
STRPATTERN_EOK if there is no error.
This function initializes the resources for the library. If this function is not called, then the library is initialized automatically when other functions are called if it is required. Initialization can take some time to complete, so you may want to call this function before calling other functions.