1*0Sstevel@tonic-gate /* $Id: getopt.h,v 1.4 2001/09/18 05:05:21 djm Exp $ */ 2*0Sstevel@tonic-gate 3*0Sstevel@tonic-gate #ifndef _GETOPT_H 4*0Sstevel@tonic-gate #define _GETOPT_H 5*0Sstevel@tonic-gate 6*0Sstevel@tonic-gate #pragma ident "%Z%%M% %I% %E% SMI" 7*0Sstevel@tonic-gate 8*0Sstevel@tonic-gate #ifdef __cplusplus 9*0Sstevel@tonic-gate extern "C" { 10*0Sstevel@tonic-gate #endif 11*0Sstevel@tonic-gate 12*0Sstevel@tonic-gate #include "config.h" 13*0Sstevel@tonic-gate 14*0Sstevel@tonic-gate #if !defined(HAVE_GETOPT) || !defined(HAVE_GETOPT_OPTRESET) 15*0Sstevel@tonic-gate 16*0Sstevel@tonic-gate int BSDgetopt(int argc, char * const *argv, const char *opts); 17*0Sstevel@tonic-gate 18*0Sstevel@tonic-gate #endif 19*0Sstevel@tonic-gate 20*0Sstevel@tonic-gate #ifdef __cplusplus 21*0Sstevel@tonic-gate } 22*0Sstevel@tonic-gate #endif 23*0Sstevel@tonic-gate 24*0Sstevel@tonic-gate #endif /* _GETOPT_H */ 25