%ju is just a %u (unsigned) format with a modifier of length j , the latter is defined in the C99 standard as follows:
j - indicates that for an argument with a pointer of type <<24>, i , o , u , x , x or n , the following argument is used: t211> or uintmax_t .
source share