Lines Matching defs:wordexp
1 /* $NetBSD: wordexp.c,v 1.4 2024/01/20 14:52:47 christos Exp $ */
40 #include <wordexp.h>
45 __FBSDID("$FreeBSD: /repoman/r/ncvs/src/lib/libc/gen/wordexp.c,v 1.5 2004/04/09 11:32:32 tjr Exp $");
47 __RCSID("$NetBSD: wordexp.c,v 1.4 2024/01/20 14:52:47 christos Exp $");
55 * wordexp --
57 * of words in `we'. See wordexp(3).
61 wordexp(const char * __restrict words, wordexp_t * __restrict we, int flags)
88 * Use the `wordexp' /bin/sh builtin function to do most of the work
112 if (asprintf(&cmd, "wordexp%c%s\n", *ifs, words) < 0)
130 * We are the child; just get /bin/sh to run the wordexp
154 * We are the parent; read the output of the shell wordexp function,
333 * Free the result of wordexp(). See wordexp(3).