Fix grammar in lossage message
[sbcl.git] / src / runtime / android-os.c
blobc94e2755f6013a630cea11ea566d7154e6447f9b
1 /*
2 * The Android incarnation of OS-dependent routines. See also
3 * $(sbcl_arch)-android-os.c. Most of the os-dependent routines are
4 * actually implemented in linux-os.c
6 * This file (along with os.h) exports an OS-independent interface to
7 * the operating system VM facilities. Surprise surprise, this
8 * interface looks a lot like the Mach interface (but simpler in some
9 * places). For some operating systems, a subset of these functions
10 * will have to be emulated.
13 #include <sys/utsname.h>
15 extern char * software_version () {
16 struct utsname u;
17 int result = uname(&u);
18 if (result < 0)
19 return 0;
20 return strdup(u.release);