1/* $OpenBSD: getoldopt.c,v 1.4 2000/01/22 20:24:51 deraadt Exp $ */ 2/* $NetBSD: getoldopt.c,v 1.3 1995/03/21 09:07:28 cgd Exp $ */ 3
| 1/* $OpenBSD: getoldopt.c,v 1.4 2000/01/22 20:24:51 deraadt Exp $ */ 2/* $NetBSD: getoldopt.c,v 1.3 1995/03/21 09:07:28 cgd Exp $ */ 3
|
4/*
| 4/*-
|
5 * Plug-compatible replacement for getopt() for parsing tar-like 6 * arguments. If the first argument begins with "-", it uses getopt; 7 * otherwise, it uses the old rules used by tar, dump, and ps. 8 * 9 * Written 25 August 1985 by John Gilmore (ihnp4!hoptoad!gnu) and placed 10 * in the Pubic Domain for your edification and enjoyment. 11 */ 12 13#include <sys/cdefs.h>
| 5 * Plug-compatible replacement for getopt() for parsing tar-like 6 * arguments. If the first argument begins with "-", it uses getopt; 7 * otherwise, it uses the old rules used by tar, dump, and ps. 8 * 9 * Written 25 August 1985 by John Gilmore (ihnp4!hoptoad!gnu) and placed 10 * in the Pubic Domain for your edification and enjoyment. 11 */ 12 13#include <sys/cdefs.h>
|
14__FBSDID("$FreeBSD: head/bin/pax/getoldopt.c 114583 2003-05-03 16:39:34Z markm $");
| 14__FBSDID("$FreeBSD: head/bin/pax/getoldopt.c 139969 2005-01-10 08:39:26Z imp $");
|
15 16#include <sys/types.h> 17#include <sys/stat.h> 18#include <stdio.h> 19#include <string.h> 20#include <unistd.h> 21 22#include "pax.h"
--- 50 unchanged lines hidden --- | 15 16#include <sys/types.h> 17#include <sys/stat.h> 18#include <stdio.h> 19#include <string.h> 20#include <unistd.h> 21 22#include "pax.h"
--- 50 unchanged lines hidden --- |