aboutsummaryrefslogtreecommitdiffhomepage
path: root/wgetopt.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2011-12-26 19:18:46 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2011-12-26 19:18:46 -0800
commit8d2f107d61a8b0e099ab9a59b8a32c236da5a5fc (patch)
tree89f718ab74f8400332534aee237c6f925348f05c /wgetopt.h
parent3f16ace6784caab54fb054836ee93902e9701913 (diff)
Some changes to migrate towards C++ and a multithreaded model
Diffstat (limited to 'wgetopt.h')
-rw-r--r--wgetopt.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/wgetopt.h b/wgetopt.h
index f1f186ed..126b42b5 100644
--- a/wgetopt.h
+++ b/wgetopt.h
@@ -1,5 +1,5 @@
/** \file wgetopt.h
- A version of the getopt library for use with wide character strings.
+ A version of the getopt library for use with wide character strings.
This is simply the gnu getopt library, but converted for use with
wchar_t instead of char. This is not usually useful since the argv
@@ -115,12 +115,12 @@ struct woption
#else
wchar_t *name;
#endif
- /**
+ /**
Must be one of no_argument, required_argument and
optional_argument.
has_arg can't be an enum because some compilers complain about
- type mismatches in all the code that assumes it is an int.
+ type mismatches in all the code that assumes it is an int.
*/
int has_arg;
@@ -153,7 +153,7 @@ struct woption
#if defined (__STDC__) && __STDC__
#ifdef __GNU_LIBRARY__
-/**
+/**
Get options from argument list. See the glibc manual for information on how to use this function.
*/
extern int wgetopt (int argc, wchar_t *const *argv, const wchar_t *shortopts);
@@ -161,20 +161,20 @@ extern int wgetopt (int argc, wchar_t *const *argv, const wchar_t *shortopts);
extern int wgetopt ();
#endif /* __GNU_LIBRARY__ */
-/**
+/**
Get options from argument list. See the glibc manual for information on how to use this function.
*/
extern int wgetopt_long (int argc, wchar_t *const *argv, const wchar_t *shortopts,
const struct woption *longopts, int *longind);
-/**
+/**
Get options from argument list. See the glibc manual for information on how to use this function.
*/
extern int wgetopt_long_only (int argc, wchar_t *const *argv,
const wchar_t *shortopts,
const struct woption *longopts, int *longind);
-/**
- Internal only. Users should not call this directly.
+/**
+ Internal only. Users should not call this directly.
*/
extern int _wgetopt_internal (int argc, wchar_t *const *argv,
const wchar_t *shortopts,
@@ -182,23 +182,23 @@ extern int _wgetopt_internal (int argc, wchar_t *const *argv,
int long_only);
#else /* not __STDC__ */
-/**
+/**
Get options from argument list. See the glibc manual for information on how to use this function.
*/
extern int wgetopt ();
-/**
+/**
Get options from argument list. See the glibc manual for information on how to use this function.
*/
extern int wgetopt_long ();
-/**
+/**
Get options from argument list. See the glibc manual for information on how to use this function.
*/
extern int wgetopt_long_only ();
-/**
- Internal only. Users should not call this directly.
+/**
+ Internal only. Users should not call this directly.
*/
extern int _wgetopt_internal ();
#endif /* __STDC__ */