using WaitPid

IF i use WaitPid, would i get the values of the macros…like WIFEXITED
etc…