Mercurial > hg > toybox
comparison toys.h @ 118:93da7cc220e6
Add sleep.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 17 May 2007 02:38:27 -0400 |
parents | ce6956dfc0cf |
children | c4a3781ecbab |
comparison
equal
deleted
inserted
replaced
117:07d8795fc19c | 118:93da7cc220e6 |
---|---|
48 // Global context for any applet. | 48 // Global context for any applet. |
49 | 49 |
50 extern struct toy_context { | 50 extern struct toy_context { |
51 struct toy_list *which; // Which entry in toy_list is this one? | 51 struct toy_list *which; // Which entry in toy_list is this one? |
52 int exitval; // Value error_exit feeds to exit() | 52 int exitval; // Value error_exit feeds to exit() |
53 char **argv; // Command line arguments | 53 char **argv; // Original command line arguments |
54 unsigned optflags; // Command line option flags from get_optflags() | 54 unsigned optflags; // Command line option flags from get_optflags() |
55 char **optargs; // Arguments left over from get_optflags() | 55 char **optargs; // Arguments left over from get_optflags() |
56 } toys; | 56 } toys; |
57 | 57 |
58 // One big temporary buffer, for use by applets (not library functions). | 58 // One big temporary buffer, for use by applets (not library functions). |