Lines Matching refs:cc
100 int cc;
108 cc = (int)(to - ep->buf);
109 if (fgets(&ep->buf[cc], (int)(sizeof(ep->buf) - cc), fp) != NULL) {
185 /* check that we wrote `cc' chars of `buf' to `fp' */
187 safe_write(FILE *fp, char *buf, unsigned cc)
189 return fwrite(buf, sizeof(char), cc, fp) == cc;
198 int cc;
201 for (cc = i = 0 ; i < ep->sv.c ; i++) {
202 cc += snprintf(&buf[cc], sizeof(buf) - cc, "%s%1.1s", ep->sv.v[i], (i == ep->sv.c - 1) ? "\n" : sp->sep);
204 return safe_write(fp, buf, cc);