File: plparseopts.txt

package info (click to toggle)
plplot 5.10.0%2Bdfsg2-0.4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 25,792 kB
  • ctags: 13,517
  • sloc: ansic: 83,001; xml: 27,081; ada: 18,878; cpp: 15,966; tcl: 11,651; python: 7,075; f90: 7,058; ml: 6,974; java: 6,665; perl: 5,029; sh: 2,208; makefile: 210; lisp: 75; sed: 25; fortran: 7
file content (33 lines) | stat: -rw-r--r-- 1,179 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

plparseopts: Parse command-line arguments 

DESCRIPTION:

    This function is used in all of the examples. 

SYNOPSIS:

int plparseopts(p_argc, argv, mode)

ARGUMENTS:

    p_argc (int *, input) :    pointer to number of arguments. 

    argv (const char **, input) :    Pointer to character array containing
    *p_argc command-line arguments. 

    mode (PLINT, input) :    Parsing mode with the following
    possibilities: PL_PARSE_FULL (1) -- Full parsing of command line
    and all error messages enabled, including program exit when an
    error occurs.  Anything on the command line that isn't recognized
    as a valid option or option argument is flagged as an error. 
        PL_PARSE_QUIET (2) -- Turns off all output except in the case
        of errors. 
        PL_PARSE_NODELETE (4) -- Turns off deletion of processed
        arguments. 
        PL_PARSE_SHOWALL (8) -- Show invisible options 
        PL_PARSE_NOPROGRAM (32) -- Specified if argv[0] is NOT a
        pointer to the program name. 
        PL_PARSE_NODASH (64) -- Set if leading dash is NOT required. 
        PL_PARSE_SKIP (128) -- Set to quietly skip over any
        unrecognized arguments.