Searched refs:mesgread (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/vi/misc/
H A Dmkstr.c66 FILE *mesgread, *mesgwrite; variable
85 mesgread = fopen(argv[0], "r");
86 if (mesgread == NULL)
221 rewind(mesgread);
222 while (fgetNUL(buf, sizeof buf, mesgread) != NULL) {
257 fseek(mesgread, (long) hp->hpt, 0);
258 fgetNUL(buf, sizeof buf, mesgread);
H A Dxstr.c266 register FILE *mesgread = fopen(strings, "r"); local
268 if (mesgread == NULL)
272 if (fgetNUL(buf, sizeof (buf), mesgread) == NULL)
276 ignore(fclose(mesgread));
/illumos-gate/usr/src/ucbcmd/mkstr/
H A Dmkstr.c68 static FILE *mesgread, *mesgwrite; variable
101 mesgread = fopen(argv[0], "r");
102 if (mesgread == NULL)
256 rewind(mesgread);
257 while (fgetNUL(buf, sizeof (buf), mesgread) != NULL) {
288 (void) fseek(mesgread, (long)hp->hpt, 0);
289 (void) fgetNUL(buf, sizeof (buf), mesgread);
/illumos-gate/usr/src/cmd/xstr/
H A Dxstr.c269 FILE *mesgread = fopen(strings, "r"); local
271 if (mesgread == NULL)
275 if (fgetNUL(buf, sizeof (buf), mesgread) == NULL)
279 (void) fclose(mesgread);

Completed in 47 milliseconds