summaryrefslogtreecommitdiff
path: root/popt.3
diff options
context:
space:
mode:
authorjbj <jbj>1999-10-27 23:18:11 +0000
committerjbj <jbj>1999-10-27 23:18:11 +0000
commit967c4b62a69f90fb05701e80b305a0bbfd269dc9 (patch)
treef5137c8424cf2b8abb77b5e23824b7bf07798707 /popt.3
parentf0db61fc3ac106f2037964138a48f13f708150e6 (diff)
downloadlibpopt-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.312
1 files changed, 6 insertions, 6 deletions
diff --git a/popt.3 b/popt.3
index 96848d3..b07b394 100644
--- a/popt.3
+++ b/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.