home *** CD-ROM | disk | FTP | other *** search
- .\"----------------------------------------------------------------------------
- .\"-- This text was extracted using the following command:
- .\"-- xdoc -man -n -p '[ \t]*' -I DESCRIPTION -f parsecntl ../xparse.c
- .\"----------------------------------------------------------------------------
- .SH "DESCRIPTION"
- .PP
- .I Parsecntl
- will read and/or write the desired attributes of the given
- command-object. The attributes to be operated upon are specified by
- the second parameter to
- .I parsecntl.
- The desired mode (read, write, or both) are specified by the third parameter to
- .I parsecntl.
- If the operation to be performed is
- .I pc_\s-1ARGFLAGS\s+1,
- then the fourth argument to
- .I parsecntl
- should be the keyword name of the argument whose flags
- are to be retrieved. The last parameter to
- .I parsecntl
- is always the object to contain the attribute(s) to be read/written.
- If the attribute(s) are to be read (regardless of whether or not they are
- also being changed) then the last argument should be a pointer to
- an object, otherwise the last argument should be the object itself.
- .PP
- If mode is
- .I pc_\s-1READ\s+1,
- then the desired attributes are copied into
- the object pointed to by the last parameter. If the mode is
- .I pc_\s-1WRITE\s+1,
- then the attributes from the last parameter are copied to the
- command-object. If mode is
- .I pc_\s-1RDWR\s+1,
- then the attributes pointed to by the last
- parameter are copied to the command-object, and then the previous value
- of these attributes (before they were overwritten) is copied into the
- object pointed to by the last parameter.
- .PP
- If cntl is
- .I pc_\s-1ARGFLAGS\s+1,
- then the only valid mode is
- .I pc_\s-1READ\s+1.
- All other attributes may be written or read by
- .I parsecntl.
-