| Last change
 on this file since 1034 was             414, checked in by Herwig Bauernfeind, 16 years ago | 
        
          | 
Samba 3.5.0: Initial import
 | 
        
          | File size:
            855 bytes | 
      
      
| Line |  | 
|---|
| 1 | This is the popt command line option parsing library. While it is similiar | 
|---|
| 2 | to getopt(3), it contains a number of enhancements, including: | 
|---|
| 3 |  | 
|---|
| 4 | 1) popt is fully reentrant | 
|---|
| 5 | 2) popt can parse arbitrary argv[] style arrays while | 
|---|
| 6 | getopt(2) makes this quite difficult | 
|---|
| 7 | 3) popt allows users to alias command line arguments | 
|---|
| 8 | 4) popt provides convience functions for parsing strings | 
|---|
| 9 | into argv[] style arrays | 
|---|
| 10 |  | 
|---|
| 11 | popt is used by rpm, the Red Hat install program, and many other Red Hat | 
|---|
| 12 | utilities, all of which provide excellent examples of how to use popt. | 
|---|
| 13 | Complete documentation on popt is available in popt.ps (included in this | 
|---|
| 14 | tarball), which is excerpted with permission from the book "Linux | 
|---|
| 15 | Application Development" by Michael K. Johnson and Erik Troan (available | 
|---|
| 16 | from Addison Wesley in May, 1998). | 
|---|
| 17 |  | 
|---|
| 18 | Comments on popt should be addressed to ewt@redhat.com. | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.