1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/lib/popt
Andrew Tridgell 6c114bb1bd enabled built in popt if system doesn't have it
(This used to be ctdb commit 30c8d69267a78e1d3dea0fcc936ee2939bb7a373)
2007-05-03 05:21:14 +10:00
..
CHANGES added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
COPYING added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
findme.c added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
findme.h added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
libpopt.m4 enabled built in popt if system doesn't have it 2007-05-03 05:21:14 +10:00
popt.c added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
popt.h added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
poptconfig.c added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
popthelp.c added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
poptint.h added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
poptparse.c added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
README added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00
samba.m4 enabled built in popt if system doesn't have it 2007-05-03 05:21:14 +10:00
system.h added copies of libs so can be built standalone 2007-01-25 15:10:40 +11:00

This is the popt command line option parsing library. While it is similiar
to getopt(3), it contains a number of enhancements, including:

	1) popt is fully reentrant
	2) popt can parse arbitrary argv[] style arrays while 
	   getopt(2) makes this quite difficult
	3) popt allows users to alias command line arguments
	4) popt provides convience functions for parsing strings
	   into argv[] style arrays

popt is used by rpm, the Red Hat install program, and many other Red Hat
utilities, all of which provide excellent examples of how to use popt. 
Complete documentation on popt is available in popt.ps (included in this
tarball), which is excerpted with permission from the book "Linux
Application Development" by Michael K. Johnson and Erik Troan (availble
from Addison Wesley in May, 1998).

Comments on popt should be addressed to ewt@redhat.com.