diff options
Diffstat (limited to 'popt/popt.3')
-rw-r--r-- | popt/popt.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/popt/popt.3 b/popt/popt.3 index 96848d339..b07b39465 100644 --- a/popt/popt.3 +++ b/popt/popt.3 @@ -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. |