Penguin

Differences between version 4 and revision by previous author of getopt(3).

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 4 Last edited on Saturday, September 6, 2003 2:21:39 pm by CraigBox Revert
Older page: version 3 Last edited on Monday, July 21, 2003 11:24:21 am by SamJansen Revert
@@ -227,9 +227,9 @@
  break; 
  
  switch (c) { 
  case 0: 
- printf ("option %s", long_options[option_index].name); 
+ printf ("option %s", long_options[ [option_index].name); 
  if (optarg) 
  printf (" with arg %s", optarg); 
  printf ("\n"); 
  break; 
@@ -268,9 +268,9 @@
  
  if (optind < argc) { 
  printf ("non-option ARGV-elements: "); 
  while (optind < argc) 
- printf ("%s ", argv[optind++]); 
+ printf ("%s ", argv[ [optind++]); 
  printf ("\n"); 
 
  
  exit (0); 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.