xref: /titanic_51/usr/src/lib/libast/common/man/optget.3 (revision b7d3956b92a285d8dac2c7f5f7e28d2ef5347ef8)
.fp 5 CW .. .nr ;G \\n(.f .Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9" \\*(;G .. .aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" .. .aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" .. .aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" ..

0

..

..

OPTGET 3
NAME
optget - option parse assist
SYNOPSIS
.EX #include <option.h> Opt_t { }; Optdisc_t { unsigned long version; unsigned long flags; char* catalog; Optinfo_f infof; }; Opt_t opt_info; void optinit(Optdisc_t* disc, Error_f errorf); int optget(char** argv, const char* usage); int optstr(const char* string, const char* usage); int optjoin(char** argv, ... [int (*optfun)(char** argv, int last)]); char* optusage(const char* opts); int optesc(Sfio_t* sp, const char* string, int flags);
DESCRIPTION
"SEE ALSO"