I've read man 3p wait, but what I could only find was this statement:
In this case, if the value of the argument
stat_locis not a null pointer, information shall be stored in the location pointed to bystat_loc.
I could also find opengroup page on google, but it was almost exactly same with man 3p wait.
Where can I find explicit statement that says wait(NULL) is well defined?