gcc-ism.  `while (NULL != (passwd_info = fgetpwent(fptr)))` would **portably** avoid "assignment might have been meant to be comparison" warnings.