1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/lib/popt
Jelmer Vernooij 069e498da2 r10330: Add SConscript to more subsystems. Some of the tdb tools build now.
Start on custom Samba scons tools (for handling proto generation, pidl, etc)
(This used to be commit 4bffe44359)
2007-10-10 13:38:28 -05:00
..
CHANGES r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
config.m4 r10161: Check for alloca.h to prevent incorrect local declaration. 2007-10-10 13:38:04 -05:00
config.mk r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
COPYING first public release of samba4 code 2003-08-13 01:53:07 +00:00
findme.c r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
findme.h r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
popt.c r8470: looks like popt portability is going to be a bit of a fight :( 2007-10-10 13:23:06 -05:00
popt.h r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
poptconfig.c r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
popthelp.c r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
poptint.h r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
poptparse.c r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
README r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05:00
SConscript r10330: Add SConscript to more subsystems. Some of the tdb tools build now. 2007-10-10 13:38:28 -05:00
system.h r5906: Fix the usage of the internal popt (make proto should ignore it) 2007-10-10 13:11:08 -05: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.