Lines Matching defs:flags
27 static int do_wordexp(const char *s, wordexp_t *we, int flags)
33 char *redir = (flags & WRDE_SHOWERR) ? "" : "2>/dev/null";
42 if (flags & WRDE_REUSE) wordfree(we);
44 if (flags & WRDE_NOCMD) for (i=0; s[i]; i++) switch (s[i]) {
86 if (flags & WRDE_APPEND) {
92 if (flags & WRDE_DOOFFS) {
156 if (flags & WRDE_DOOFFS) {
164 if (!(flags & WRDE_APPEND)) {
171 int wordexp(const char *restrict s, wordexp_t *restrict we, int flags)
176 r = do_wordexp(s, we, flags);