Lines Matching refs:NULL
63 static struct t_pw * syspw = NULL;
72 if(p == NULL) {
73 return NULL;
80 /* t_openpw(NULL) is deprecated - use settpent()/gettpnam() instead */
89 if(fp == NULL) { /* Deprecated */
90 if((fp = fopen(DEFAULT_PASSWD, "r")) == NULL)
91 return NULL;
97 if((tpw = malloc(sizeof(struct t_pw))) == NULL)
98 return NULL;
113 if(pwname == NULL) /* Deprecated */
114 return t_openpw(NULL);
116 if((fp = fopen(pwname, "r")) == NULL)
117 return NULL;
182 if(nisent != NULL) {
204 return NULL;
206 return NULL;
214 if(syspw == NULL) {
215 if((syspw = t_openpwbyname(DEFAULT_PASSWD)) == NULL)
251 return NULL;
253 if(tpptr == NULL)
254 return NULL;
258 if(tcptr == NULL)
259 return NULL;