4.166.1 long random_r
long random_r(unsigned long *__ctx)
Variant of random() that stores the context in the user-supplied variable located at ctx instead of a static library variable so the function becomes re-entrant. 
long random_r(unsigned long *__ctx)
Variant of random() that stores the context in the user-supplied variable located at ctx instead of a static library variable so the function becomes re-entrant. 
The online versions of the documents are provided as a courtesy. Verify all content and data in the device’s PDF documentation found on the device product page.