source:
trunk/minix/include/sys/utsname.h@
11
| Last change on this file since 11 was 9, checked in by , 15 years ago | |
|---|---|
| File size: 394 bytes | |
| Line | |
|---|---|
| 1 | /* The <sys/utsname.h> header gives the system name. */ |
| 2 | |
| 3 | #ifndef _UTSNAME_H |
| 4 | #define _UTSNAME_H |
| 5 | |
| 6 | #ifndef _ANSI_H |
| 7 | #include <ansi.h> |
| 8 | #endif |
| 9 | |
| 10 | struct utsname { |
| 11 | char sysname[15+1]; |
| 12 | char nodename[255+1]; |
| 13 | char release[11+1]; |
| 14 | char version[7+1]; |
| 15 | char machine[11+1]; |
| 16 | char arch[11+1]; |
| 17 | }; |
| 18 | |
| 19 | /* Function Prototypes. */ |
| 20 | _PROTOTYPE( int uname, (struct utsname *_name) ); |
| 21 | |
| 22 | #endif /* _UTSNAME_H */ |
Note:
See TracBrowser
for help on using the repository browser.