Lines Matching full:globals
155 name of your command, updating the command line arguments, globals, and
224 <li><p>Update the GLOBALS() macro to contain your command's global
227 <p>Variables in the GLOBALS() block are are stored in a space saving
238 already sorted into this.optflags, this.optargs, this.optc, and the GLOBALS()
344 entries in the toy's GLOBALS struct). When this is NULL, no option
380 and the fields in the GLOBALS struct initialized by get_optflags().</p>
394 start of the GLOBALS() block (see <a href="#toy_union">union toy_union this</a>
401 toys/globals.h which is generated by scripts/make.sh.)</p>
429 instance (called "this"). The GLOBALS() macro contains the global
557 <li><p><b>generated/globals.h</b> -
558 Declares structures to hold the contents of each command's GLOBALS(),
564 since only one command's globals are in use at any given time, collapsing
569 <p>The globals start zeroed, and the first few are filled out by the
967 <p>If the command's globals are:</p>
970 GLOBALS(
980 top to bottom in GLOBALS().</p>
982 <p>Put globals not filled out by the option parsing logic at the end of the
983 GLOBALS block. Common practice is to list the options one per line (to
984 make the ordering explicit, first to last in globals corresponds to right
986 globals.</p>
1049 <p><b>GLOBALS</b></p>
1052 union "this" (see generated/globals.h), treating it as an array of longs
1064 GLOBALS block.</p>
1144 corresponding GLOBALS() entry via "--longopt=value". For example, option
1167 with -a"). Note that [-] groups clear the GLOBALS option slot of