Lines Matching defs:eofmark
76 char *eofmark; /* string indicating end of input */
121 static inline int realeofmark(const char *eofmark)
123 return eofmark && eofmark != FAKEEOFMARK;
623 here->eofmark = wordtext;
657 here->eofmark, here->striptabs);
850 * If eofmark is NULL, read a word or a redirection symbol. If eofmark
851 * is not NULL, read a here document. In the latter case, eofmark is the
869 readtoken1(int firstc, char const *syntax, char *eofmark, int striptabs)
922 if (eofmark == NULL || dblquote)
941 eofmark != NULL
954 if (eofmark == NULL) {
963 if (eofmark && !varnest)
1031 if (syntax != BASESYNTAX && eofmark == NULL)
1040 if (eofmark == NULL) {
1067 if (realeofmark(eofmark)) {
1081 for (p = eofmark; STPUTC(c, out), *p; p++) {