/usr/include/net-snmp/library/getopt.h is in libsnmp-dev 5.7.2~dfsg-8.1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #ifndef _GETOPT_H_
#define _GETOPT_H_ 1
#ifndef NET_SNMP_CONFIG_H
#error <net-snmp/net-snmp-config.h> must be included before <net-snmp/library/getopt.h>.
#endif
#if !defined(HAVE_GETOPT_H)
#ifdef __cplusplus
extern "C" {
#endif
NETSNMP_IMPORT int getopt(int, char *const *, const char *);
NETSNMP_IMPORT char *optarg;
NETSNMP_IMPORT int optind, opterr, optopt, optreset;
#ifdef __cplusplus
}
#endif
#endif /* HAVE_GETOPT_H */
#endif
|