Add sun4i ram controller definitions
[AROS.git] / test / clib / uname.c
blob2cf3aab87039137a371d5ccfe4d8feec3389b45d
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <stdio.h>
7 #include <sys/utsname.h>
8 #include "test.h"
10 int main()
12 struct utsname buf;
13 TEST((uname(&buf) != -1));
15 printf("Operating system name: %s\n", buf.sysname);
16 printf("Operating system release: %s\n", buf.release);
17 printf("Operating system version: %s\n", buf.version);
18 printf("Machine: %s\n", buf.machine);
20 cleanup();
21 return OK;
24 void cleanup()