diff options
author | Charlie Shepherd <masterdriverz@gentoo.org> | 2007-11-07 00:11:20 +0000 |
---|---|---|
committer | Charlie Shepherd <masterdriverz@gentoo.org> | 2007-11-07 00:11:20 +0000 |
commit | 60c2e3eb81abfaeea2c893d8a69d9b9802877d04 (patch) | |
tree | 3481cd5528cc0966301caa83804ad1f0bfc0708e /toys/toylist.h | |
parent | 2c226859cfc911c4a1eea009897050a16714aeec (diff) | |
download | toybox-60c2e3eb81abfaeea2c893d8a69d9b9802877d04.tar.gz |
Add initial mkfifo implementation
Diffstat (limited to 'toys/toylist.h')
-rw-r--r-- | toys/toylist.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/toys/toylist.h b/toys/toylist.h index b717c93b..2c308ef7 100644 --- a/toys/toylist.h +++ b/toys/toylist.h @@ -61,9 +61,14 @@ struct toysh_data { char *command; }; +struct mkfifo_data { + char *mode; +}; + extern union toy_union { struct df_data df; struct mke2fs_data mke2fs; + struct mkfifo_data mkfifo; struct sleep_data sleep; struct touch_data touch; struct toysh_data toysh; @@ -104,6 +109,7 @@ USE_FALSE(NEWTOY(false, NULL, TOYFLAG_BIN)) USE_HELLO(NEWTOY(hello, NULL, TOYFLAG_USR|TOYFLAG_BIN)) USE_HELP(NEWTOY(help, "<1", TOYFLAG_BIN)) USE_MKE2FS(NEWTOY(mke2fs, MKE2FS_OPTSTRING, TOYFLAG_SBIN)) +USE_MKFIFO(NEWTOY(mkfifo, "<1m:", TOYFLAG_BIN)) USE_ONEIT(NEWTOY(oneit, "+<1p", TOYFLAG_SBIN)) USE_PWD(NEWTOY(pwd, NULL, TOYFLAG_BIN)) USE_READLINK(NEWTOY(readlink, "<1f", TOYFLAG_BIN)) |