]> git.sur5r.net Git - openldap/blob - include/getopt-compat.h
add wait macros. add LDAP_SIGCHLD. and other misc NT cleanups.
[openldap] / include / getopt-compat.h
1 /*
2  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms are permitted only
6  * as authorized by the OpenLDAP Public License.  A copy of this
7  * license is available at http://www.OpenLDAP.org/license.html or
8  * in file LICENSE in the top-level directory of the distribution.
9  */
10 /*
11  * getopt(3) declarations
12  */
13 #ifndef _GETOPT_COMPAT_H
14 #define _GETOPT_COMPAT_H
15
16 #include <ldap_cdefs.h>
17
18 LDAP_BEGIN_DECL
19
20 extern char *optarg;
21 extern int optind, opterr, optopt;
22
23 LDAP_F int getopt LDAP_P((int, char * const [], const char *));
24
25 LDAP_END_DECL
26
27 #endif /* _GETOPT_COMPAT_H */