Searched refs:getopt (Results 1 - 25 of 923) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/libast/common/include/
H A Dast_getopt.h24 * legacy standard getopt interface
39 extern int getopt(int, char* const*, const char*);
/illumos-gate/usr/src/cmd/cron/
H A Dbatch.sh32 set -- `getopt p: $*`
H A Dbatch.xpg4.sh32 set -- `getopt p: $*`
/illumos-gate/usr/src/grub/grub-0.97/lib/
H A Dgetopt.h1 /* Declarations for getopt.
29 /* For communication from `getopt' to the caller.
30 When `getopt' finds an option that takes an argument,
39 and for communication between successive calls to `getopt'.
41 On entry to `getopt', zero means this is the first call; initialize.
43 When `getopt' returns -1, this is the index of the first of the
51 /* Callers store zero here to inhibit the error message `getopt' prints
78 one). For long options that have a zero `flag' field, `getopt'
103 /* Many other libraries have conflicting prototypes for getopt, with
105 errors, only prototype getopt fo
[all...]
/illumos-gate/usr/src/cmd/getopt/
H A DMakefile28 PROG= getopt
H A Dgetoptcvt.sh28 # This program changes all occurences of the SVR2 getopt invocation line
29 # to use the SVR3 version of getopt.
46 1,$s/set[ ][ ]*--[ ][ ]*`getopt[ ][ ]*\(.*\)[ ][ ]*.*`/{\
49 set -- `getopt \1 $*`\
86 1,$s/set[ ][ ]*--[ ][ ]*`getopt[ ][ ]*\(.*\)[ ][ ]*.*`/{\
/illumos-gate/usr/src/lib/libast/amd64/include/ast/
H A Dast_getopt.h22 extern __MANGLE__ int getopt __PROTO__((int, char* const*, const char*));
/illumos-gate/usr/src/lib/libast/i386/include/ast/
H A Dast_getopt.h22 extern __MANGLE__ int getopt __PROTO__((int, char* const*, const char*));
/illumos-gate/usr/src/lib/libast/sparc/include/ast/
H A Dast_getopt.h22 extern __MANGLE__ int getopt __PROTO__((int, char* const*, const char*));
/illumos-gate/usr/src/lib/libast/sparcv9/include/ast/
H A Dast_getopt.h22 extern __MANGLE__ int getopt __PROTO__((int, char* const*, const char*));
/illumos-gate/usr/src/tools/scripts/
H A Dhdrchk.py31 import sys, os, getopt namespace
49 opts, args = getopt.getopt(sys.argv[1:], 'a')
50 except getopt.GetoptError:
H A Dhg-active.py46 import getopt, binascii namespace
59 opts = getopt.getopt(argv, 'w:o:p:')[0]
60 except getopt.GetoptError, e:
/illumos-gate/usr/src/cmd/dfs.cmds/unshareall/
H A Dunshareall.sh30 set -- `getopt F: $*`
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dgetopt.c30 NoN(getopt)
47 getopt(int argc, char* const* argv, const char* optstring)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dtalk.c67 while ((c = getopt(argc, argv, "")) != EOF)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.discardd/
H A Din.discardd.c61 opterr = 0; /* disable getopt error msgs */
62 switch (getopt(argc, argv, "ds")) {
/illumos-gate/usr/src/cmd/dispadmin/
H A Dsdcdispadmin.c44 while ((c = getopt(argc, argv, "lc:")) != -1) {
/illumos-gate/usr/src/cmd/fm/fmadm/common/
H A Dreset.c39 while ((c = getopt(argc, argv, "s:")) != EOF) {
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dkdyndns.c64 while ((c = getopt(argc, argv, "d:")) != -1) {
/illumos-gate/usr/src/cmd/link/
H A Dlink.c53 while ((c = getopt(argc, argv, "")) != EOF)
/illumos-gate/usr/src/cmd/tty/
H A Dtty.c55 while ((i = getopt(argc, argv, "ls")) != EOF)
/illumos-gate/usr/src/cmd/lvm/metassist/controller/
H A Dgetopt_ext.c39 * Identical to getopt(3), except that
47 * This mirrors the functionality provided by GNU getopt.
99 /* getopt(3) doesn't understand "-" */
103 switch (c = getopt(argc, argv, optstring)) {
106 * getopt(3) returns -1 when 1) it encounters a non-option
130 * getopt(3) returns '?' when 1) the "-?" option is
/illumos-gate/usr/src/cmd/dfs.cmds/sharemgr/
H A Dsharemgr_main.c34 #include <getopt.h>
76 while ((c = getopt(argc, argv, "h?")) != EOF) {
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfzone.c40 * getopt() handle this.
45 * getopt is also used here to set optind so that we can
49 while ((c = getopt(argc, argv, optstr)) != -1) {
58 * Reset optind and opterr so the next getopt call will go through all
75 * getopt() handle this.
79 while ((c = getopt(argc, argv, optstr)) != -1) {
88 * Reset optind and opterr so the next getopt call will go through all
/illumos-gate/usr/src/cmd/tsol/zones/
H A Dzoneshare.sh33 set -- `getopt z: $*`

Completed in 140 milliseconds

1234567891011>>