Lines Matching refs:NULL
45 if (svc == NULL)
50 list[1] = NULL;
56 if (fdgets(buf, sizeof (buf), fd) != NULL) {
59 else if ((strstr(buf, "permission denied") != NULL) ||
60 (strstr(buf, "not-authorized") != NULL))
62 else if ((strstr(buf, "cancelled") != NULL) ||
63 (strstr(buf, "removed") != NULL))
81 if (svc == NULL)
84 if ((fd = lpd_open(svc, 'c', NULL, 15)) < 0)
91 while (fdgets(buf, sizeof (buf), fd) != NULL) {
93 if ((strstr(buf, "cancelled") != NULL) ||
94 (strstr(buf, "removed") != NULL)) {
96 papi_attribute_t **attributes = NULL;
97 char *ptr, *iter = NULL;
110 != NULL) {
115 } else if (strstr(buf, "permission denied") != NULL)