getopt.c (87283) | getopt.c (95657) |
---|---|
1/* $FreeBSD: head/usr.bin/getopt/getopt.c 87283 2001-12-03 20:57:49Z dwmalone $ */ | 1/* $FreeBSD: head/usr.bin/getopt/getopt.c 95657 2002-04-28 14:04:24Z markm $ */ |
2 3#include <stdio.h> 4#include <stdlib.h> 5#include <unistd.h> 6 7int 8main(argc, argv) 9int argc; --- 14 unchanged lines hidden (view full) --- 24 else 25 printf(" -%c", c); 26 break; 27 } 28 printf(" --"); 29 for (; optind < argc; optind++) 30 printf(" %s", argv[optind]); 31 printf("\n"); | 2 3#include <stdio.h> 4#include <stdlib.h> 5#include <unistd.h> 6 7int 8main(argc, argv) 9int argc; --- 14 unchanged lines hidden (view full) --- 24 else 25 printf(" -%c", c); 26 break; 27 } 28 printf(" --"); 29 for (; optind < argc; optind++) 30 printf(" %s", argv[optind]); 31 printf("\n"); |
32 exit(status); | 32 return status; |
33} | 33} |