* Fts_set takes the stream as an argument although it's not used in this * implementation; it would be necessary if anyone wanted to add global * semantics to fts using yfts_set. An error return is allowed for similar * reasons. */ ARGSUSED */
| 664 | */ |
| 665 | /* ARGSUSED */ |
| 666 | int yfts_set(FTS* sp, FTSENT* p, int instr) |
| 667 | { |
| 668 | (void)sp; //Unused |
| 669 | if (instr && instr != FTS_AGAIN && instr != FTS_FOLLOW && |
| 670 | instr != FTS_NOINSTR && instr != FTS_SKIP) { |
| 671 | errno = EINVAL; |
| 672 | return (1); |
| 673 | } |
| 674 | p->fts_instr = (u_short)instr; |
| 675 | return (0); |
| 676 | } |
| 677 | |
| 678 | FTSENT* |
| 679 | yfts_children(FTS* sp, int instr) |