bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

getopt: How to know whether to pass char ** or char *const*?


From: Micah Cowan
Subject: getopt: How to know whether to pass char ** or char *const*?
Date: Thu, 25 Oct 2007 18:37:25 -0700
User-agent: Thunderbird 1.5.0.13 (X11/20070824)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

How best do I determine in my code whether I'm using gnulib's
getopt_long, or the system library (potentially glibc)'s? That is, I
want to know whether I ought to be passing in a char ** or a
char*const*, whilst avoiding warnings and the like.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHIUTU7M8hyUobTrERCD0TAJ9EfptZrSTVWOUpNGIZKq1YOLE7AgCfYfIp
71leOea8xUJuWk0ED8mgvuc=
=4niH
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]