Our standard is not to use this kind of syntax. Break apart (dir = opendir; if dir == NULL)