1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/lib/popt
2010-04-06 20:27:13 +10:00
..
CHANGES Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
config.mk Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
COPYING Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
dummy.in Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
findme.c Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
findme.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
libpopt.m4 Fix finding of popt sources for systems that don't have popt. 2008-09-17 15:44:16 +02:00
popt.c Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
popt.h Spelling fixes for popt API documentation. 2010-02-22 21:45:32 +01:00
poptconfig.c Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
popthelp.c Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
poptint.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
poptparse.c Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
README lib/popt: Fix typo in README. 2010-01-25 19:54:24 +01:00
samba.m4 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
system.h Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
wscript s4-waf: cleanup use of LIBPOPT vs popt dependency 2010-04-06 20:27:13 +10: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 (available
from Addison Wesley in May, 1998).

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