Revision 12269,
935 bytes
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_linux_h__ |
---|
14 | #define __os_linux_h__ |
---|
15 | |
---|
16 | /* |
---|
17 | * Linux |
---|
18 | */ |
---|
19 | |
---|
20 | #include <fcntl.h> |
---|
21 | #include <sys/param.h> |
---|
22 | |
---|
23 | /* |
---|
24 | * There's no such thing as a single manufacturer for Linux systems. |
---|
25 | */ |
---|
26 | #undef MAN_SHORT |
---|
27 | #undef MAN_LONG |
---|
28 | |
---|
29 | /* |
---|
30 | * What features we have |
---|
31 | */ |
---|
32 | #define HAVE_GETHOSTID /* gethostid() */ |
---|
33 | #define HAVE_UNAME /* uname() */ |
---|
34 | |
---|
35 | /* |
---|
36 | * What we are |
---|
37 | */ |
---|
38 | #define IS_POSIX_SOURCE 1 |
---|
39 | #define RE_TYPE RE_REGCOMP |
---|
40 | |
---|
41 | /* |
---|
42 | * Pathnames and such. |
---|
43 | */ |
---|
44 | #define PROC_FILE_UPTIME "/proc/uptime" |
---|
45 | #define PROC_FILE_CPUINFO "/proc/cpuinfo" |
---|
46 | #define PROC_FILE_MEMINFO "/proc/meminfo" |
---|
47 | #define PROC_FILE_VERSION "/proc/version" |
---|
48 | |
---|
49 | #endif /* __os_linux_h__ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.