Lines Matching defs:buf
43 char buf[128]; /* this should be overkill */
48 snprintf(buf, sizeof (buf), "%d", id);
49 list[0] = buf;
55 memset(buf, 0, sizeof (buf));
56 if (fdgets(buf, sizeof (buf), fd) != NULL) {
57 if (buf[0] == '\0')
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))
79 char buf[256];
90 memset(buf, 0, sizeof (buf));
91 while (fdgets(buf, sizeof (buf), fd) != NULL) {
93 if ((strstr(buf, "cancelled") != NULL) ||
94 (strstr(buf, "removed") != NULL)) {
100 ptr = strtok_r(buf, ":", &iter);
115 } else if (strstr(buf, "permission denied") != NULL)