| Line | |
|---|
| 1 | /* $Id: utsname.h,v 1.1.1.1 2003/07/02 13:57:02 eleph Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _LINUX_UTSNAME_H
|
|---|
| 4 | #define _LINUX_UTSNAME_H
|
|---|
| 5 |
|
|---|
| 6 | #define __OLD_UTS_LEN 8
|
|---|
| 7 |
|
|---|
| 8 | struct oldold_utsname {
|
|---|
| 9 | char sysname[9];
|
|---|
| 10 | char nodename[9];
|
|---|
| 11 | char release[9];
|
|---|
| 12 | char version[9];
|
|---|
| 13 | char machine[9];
|
|---|
| 14 | };
|
|---|
| 15 |
|
|---|
| 16 | #define __NEW_UTS_LEN 64
|
|---|
| 17 |
|
|---|
| 18 | struct old_utsname {
|
|---|
| 19 | char sysname[65];
|
|---|
| 20 | char nodename[65];
|
|---|
| 21 | char release[65];
|
|---|
| 22 | char version[65];
|
|---|
| 23 | char machine[65];
|
|---|
| 24 | };
|
|---|
| 25 |
|
|---|
| 26 | struct new_utsname {
|
|---|
| 27 | char sysname[65];
|
|---|
| 28 | char nodename[65];
|
|---|
| 29 | char release[65];
|
|---|
| 30 | char version[65];
|
|---|
| 31 | char machine[65];
|
|---|
| 32 | char domainname[65];
|
|---|
| 33 | };
|
|---|
| 34 |
|
|---|
| 35 | extern struct new_utsname system_utsname;
|
|---|
| 36 |
|
|---|
| 37 | extern struct semaphore uts_sem;
|
|---|
| 38 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.