c wait status value check code example Example: wait function in c sleep(/*How many seconds do you want to wait*/);