xref: /titanic_44/usr/src/lib/libast/common/man/optget.3 (revision 2b24ab6b3865caeede9eeb9db6b83e1d89dcd1ea)
.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"