Lines Matching defs:streams
45 FILE *streams[2];
54 streams[i] = (argv[i][0] == '-' && !argv[i][1]) ? stdin : xfopen(argv[i], "r");
55 fgets(thisline[i], LINE_LEN, streams[i]);
64 if (feof(streams[0])) i |= BB_EOF_0;
65 if (feof(streams[1])) i |= BB_EOF_1;
92 while (!feof(streams[i])) {
95 fgets(thisline[i], LINE_LEN, streams[i]);
101 fgets(thisline[1], LINE_LEN, streams[1]);
103 fgets(thisline[0], LINE_LEN, streams[0]);
108 fclose(streams[0]);
109 fclose(streams[1]);