diff options
author | jbj <jbj> | 1999-10-27 23:18:11 +0000 |
---|---|---|
committer | jbj <jbj> | 1999-10-27 23:18:11 +0000 |
commit | 967c4b62a69f90fb05701e80b305a0bbfd269dc9 (patch) | |
tree | f5137c8424cf2b8abb77b5e23824b7bf07798707 /popt.3 | |
parent | f0db61fc3ac106f2037964138a48f13f708150e6 (diff) | |
download | libpopt-967c4b62a69f90fb05701e80b305a0bbfd269dc9.tar.gz |
use compressed filenames on install side.
start unifying FD types, CFD_t now gone.
Diffstat (limited to 'popt.3')
-rw-r--r-- | popt.3 | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -6,7 +6,7 @@ popt \- Parse command line options .B #include <popt.h> .sp .BI "poptContext poptGetContext(const char * " name ", int " argc , -.BI " har ** "argv , +.BI " const char ** "argv , .BI " const struct poptOption * " options , .BI " int " flags ); .sp @@ -16,9 +16,9 @@ popt \- Parse command line options .sp .BI "int poptGetNextOpt(poptContext " con ); .sp -.BI "char * poptGetOptArg(poptContext " con ); +.BI "const char * poptGetOptArg(poptContext " con ); .sp -.BI "char * poptGetArg(poptContext " con ); +.BI "const char * poptGetArg(poptContext " con ); .sp .BI "const char * poptPeekArg(poptContext " con ); .sp @@ -246,7 +246,7 @@ modified outside the popt library. .sp .nf .BI "poptContext poptGetContext(const char * " name ", int "argc ", -.BI " char ** "argv ", +.BI " const char ** "argv ", .BI " const struct poptOption * "options ", .BI " int "flags ");" .fi @@ -333,7 +333,7 @@ ways to discover them. One is to ask popt to fill in a variable with the .sp .nf .B #include <popt.h> -.BI "char * poptGetOptArg(poptContext " con ");" +.BI "const char * poptGetOptArg(poptContext " con ");" .fi .sp This function returns the argument given for the final option returned by @@ -347,7 +347,7 @@ of leftover arguments. Three functions allow applications to access such arguments: .nf .HP -.BI "char * poptGetArg(poptContext " con ");" +.BI "const char * poptGetArg(poptContext " con ");" .fi This function returns the next leftover argument and marks it as processed. |