UniStrtoul converts the initial portion of the string pointed to by nptr to unsigned long integer representation. First, it decomposes the input string into three parts:

Then, it attempts to convert the subject sequence to an unsigned long integer, and returns the result in the area pointed to by ulResult. A pointer to the final string is stored in the object pointed to by endptr, provided that endptr is not a null pointer.