Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
2 | #include |
||
3 | #include |
||
4 | #include |
||
5 | #include |
||
6 | #include |
||
7 | #include |
||
8 | |||
9 | int uname(struct utsname *u) |
||
10 | { |
||
11 | strncpy(u->sysname, "MenuetOS",8); |
||
12 | u->sysname[sizeof(u->sysname) - 1] = '\0'; |
||
13 | sprintf(u->version, "0.47"); |
||
14 | sprintf(u->release, "1.0"); |
||
15 | strcpy(u->machine, "i386"); |
||
16 | strcpy(u->nodename, "(none)"); |
||
17 | return 0; |
||
18 | } |