Home
last modified time | relevance | path

Searched refs:readstd (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/xstr/
H A Dxstr.c56 int readstd; variable
68 readstd++; in main()
93 if (cflg || argc == 0 && !readstd) in main()
105 while (readstd || argc > 0) { in main()
108 if (!readstd && freopen(argv[0], "r", stdin) == NULL) in main()
111 if (readstd == 0) in main()
114 readstd = 0; in main()
/titanic_41/usr/src/cmd/vi/misc/
H A Dxstr.c73 int readstd; variable
87 readstd++;
107 if (cflg || argc == 0 && !readstd)
119 while (readstd || argc > 0) {
122 if (!readstd && freopen(argv[0], "r", stdin) == NULL)
125 if (readstd == 0)
128 readstd = 0;