Contents of /trunk/mkinitrd-magellan/klibc/usr/include/sys/utsname.h
Parent Directory | Revision Log
Revision 532 -
(show annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File MIME type: text/plain
File size: 365 byte(s)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File MIME type: text/plain
File size: 365 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd
1 | /* |
2 | * sys/utsname.h |
3 | */ |
4 | |
5 | #ifndef _SYS_UTSNAME_H |
6 | #define _SYS_UTSNAME_H |
7 | |
8 | #include <klibc/extern.h> |
9 | |
10 | #define SYS_NMLN 65 |
11 | |
12 | struct utsname { |
13 | char sysname[SYS_NMLN]; |
14 | char nodename[SYS_NMLN]; |
15 | char release[SYS_NMLN]; |
16 | char version[SYS_NMLN]; |
17 | char machine[SYS_NMLN]; |
18 | char domainname[SYS_NMLN]; |
19 | }; |
20 | |
21 | __extern int uname(struct utsname *); |
22 | |
23 | #endif /* _SYS_UTSNAME_H */ |