source: trunk/third/sysinfo/os-bsdos.h @ 12269

Revision 12269, 1.2 KB checked in by ghudson, 26 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r12268, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * Copyright (c) 1992-1998 Michael A. Cooper.
3 * This software may be freely used and distributed provided it is not
4 * sold for profit or used in part or in whole for commercial gain
5 * without prior written agreement, and the author is credited
6 * appropriately.
7 */
8
9/*
10 * $Revision: 1.1.1.1 $
11 */
12
13#ifndef __os_bsdos_h__
14#define __os_bsdos_h__
15
16/*
17 * BSD/OS from BSDI
18 */
19
20#include <fcntl.h>
21#include <sys/param.h>
22#include <sys/sockio.h>
23
24/*
25 * There's no such thing as a single manufacturer for BSDOS systems.
26 */
27#undef MAN_SHORT
28#undef MAN_LONG
29
30/*
31 * What features we have
32 */
33#define HAVE_GETHOSTID          /* gethostid() */
34#define HAVE_UNAME              /* uname() */
35#define HAVE_KVM                /* kvm(3) interface */
36#define HAVE_NLIST              /* nlist(3) interface */
37#define HAVE_DEVICE_SUPPORT     /* Sysinfo Device support */
38#if     OSMVER <= 3
39/* Starting in BSD/OS 4, in_ifaddr is still present, but not what we need */
40#define HAVE_IN_IFADDR          /* struct in_ifaddr */
41#endif  /* OSMVER <= 3 */
42
43/*
44 * What we are
45 */
46#define _BIT_FIELDS_LTOH        /* Little Indian byte order */
47#define IS_POSIX_SOURCE         1
48#define RE_TYPE                 RE_REGCOMP
49#define GETNETIF_TYPE           GETNETIF_IFCONF
50#define SETMACINFO_FUNC         SetMacInfoSysCtl
51
52/*
53 * Pathnames
54 */
55#define _PATH_DEV               "/dev"
56
57#endif  /* __os_bsdos_h__ */
Note: See TracBrowser for help on using the repository browser.