diff options
| -rw-r--r-- | src/wordexp/WRDE_APPEND.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_BADCHAR.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_BADVAL.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_CMDSUB.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_DOOFFS.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_NOCMD.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_NOSPACE.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_NOSYS.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_REUSE.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_SHOWERR.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_SYNTAX.c | 6 | ||||
| -rw-r--r-- | src/wordexp/WRDE_UNDEF.c | 6 | ||||
| -rw-r--r-- | src/wordexp/wordexp.c | 11 | ||||
| -rw-r--r-- | src/wordexp/wordexp_t.c | 12 | ||||
| -rw-r--r-- | src/wordexp/wordfree.c | 10 |
15 files changed, 105 insertions, 0 deletions
diff --git a/src/wordexp/WRDE_APPEND.c b/src/wordexp/WRDE_APPEND.c new file mode 100644 index 00000000..81c709c1 --- /dev/null +++ b/src/wordexp/WRDE_APPEND.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_APPEND 1 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_BADCHAR.c b/src/wordexp/WRDE_BADCHAR.c new file mode 100644 index 00000000..b91c845e --- /dev/null +++ b/src/wordexp/WRDE_BADCHAR.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_BADCHAR 1 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_BADVAL.c b/src/wordexp/WRDE_BADVAL.c new file mode 100644 index 00000000..706c17f0 --- /dev/null +++ b/src/wordexp/WRDE_BADVAL.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_BADVAL 2 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_CMDSUB.c b/src/wordexp/WRDE_CMDSUB.c new file mode 100644 index 00000000..41c0be87 --- /dev/null +++ b/src/wordexp/WRDE_CMDSUB.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_CMDSUB 3 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_DOOFFS.c b/src/wordexp/WRDE_DOOFFS.c new file mode 100644 index 00000000..c74e162b --- /dev/null +++ b/src/wordexp/WRDE_DOOFFS.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_DOOFFS 2 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_NOCMD.c b/src/wordexp/WRDE_NOCMD.c new file mode 100644 index 00000000..729d9bae --- /dev/null +++ b/src/wordexp/WRDE_NOCMD.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_NOCMD 3 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_NOSPACE.c b/src/wordexp/WRDE_NOSPACE.c new file mode 100644 index 00000000..c3edabf4 --- /dev/null +++ b/src/wordexp/WRDE_NOSPACE.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_NOSPACE 4 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_NOSYS.c b/src/wordexp/WRDE_NOSYS.c new file mode 100644 index 00000000..03e0ba0c --- /dev/null +++ b/src/wordexp/WRDE_NOSYS.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_NOSYS -1 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_REUSE.c b/src/wordexp/WRDE_REUSE.c new file mode 100644 index 00000000..0552fad4 --- /dev/null +++ b/src/wordexp/WRDE_REUSE.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_REUSE 4 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_SHOWERR.c b/src/wordexp/WRDE_SHOWERR.c new file mode 100644 index 00000000..c40db1e4 --- /dev/null +++ b/src/wordexp/WRDE_SHOWERR.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_SHOWERR 5 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_SYNTAX.c b/src/wordexp/WRDE_SYNTAX.c new file mode 100644 index 00000000..af83c6b9 --- /dev/null +++ b/src/wordexp/WRDE_SYNTAX.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_SYNTAX 5 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/WRDE_UNDEF.c b/src/wordexp/WRDE_UNDEF.c new file mode 100644 index 00000000..1f533a5b --- /dev/null +++ b/src/wordexp/WRDE_UNDEF.c @@ -0,0 +1,6 @@ +#include <wordexp.h> +#define WRDE_UNDEF 6 +/* +POSIX(2) +*/ + diff --git a/src/wordexp/wordexp.c b/src/wordexp/wordexp.c new file mode 100644 index 00000000..5ac38d9e --- /dev/null +++ b/src/wordexp/wordexp.c @@ -0,0 +1,11 @@ +#include <wordexp.h> + +int wordexp(const char *restrict words, wordexp_t *restrict pwordexp, int flags) +{ + return 0; +} + +/* +POSIX(2) +*/ + diff --git a/src/wordexp/wordexp_t.c b/src/wordexp/wordexp_t.c new file mode 100644 index 00000000..1bf6eac9 --- /dev/null +++ b/src/wordexp/wordexp_t.c @@ -0,0 +1,12 @@ +#include <wordexp.h> + +typedef struct { + size_t we_wordc; + char ** we_wordv; + size_t we_offs; +} wordexp_t; + +/* +POSIX(2) +*/ + diff --git a/src/wordexp/wordfree.c b/src/wordexp/wordfree.c new file mode 100644 index 00000000..f1043c2d --- /dev/null +++ b/src/wordexp/wordfree.c @@ -0,0 +1,10 @@ +#include <wordexp.h> + +void wordfree(wordexp_t *pwordexp) +{ +} + +/* +POSIX(2) +*/ + |
