Extracts segments from a slash-separated URL path and stores them in a given store array which has been pre-allocated.
The path to parse.
The array to store segments in. Consider allocating this on the stack for performance improvements.
The number of segments that were parsed, or -1 if the given store is too small to fit all of them.
See Implementation
Extracts segments from a slash-separated URL path and stores them in a given store array which has been pre-allocated.