Next: iklib syntaxes, Previous: iklib cmdline, Up: iklib [Index]
Return a string being the value GNU Autoconf assigned to the
target variable. Examples: i686-pc-linux-gnu,
x86_64-unknown-linux-gnu.
The POSIX function uname() fills a data structure of type
struct utsname with strings representing a description of the
underlying platform. Vicare defines objects of type
<utsname> to provide at the Scheme level such informations;
<utsname> objects are disjoint from all the other types.
Interface to the C function uname(), (*manpages*)Get name and
information about current kernel. Build and return a new object of
type <utsname>. If successful return the object, otherwise raise
an exception.
Return #t if obj is an object of type <utsname>, otherwise return #f.
All the arguments must be <utsname> objects. Return #t if all the arguments are equal.
When applied to a single argument: return #t.
The arguments must be <utsname> objects. Return #t if the arguments are all different:
no two arguments are equal; otherwise return #f. When applied to a single argument: return
#f.
Accessors for the fields of the utsname object. All the returned values are strings.
The following bindings are specified by SRFI-112, exported by
(vicare) and reexported by the SRFI’s libraries,
(vicare-libs)Specification.
Return the string "vicare-scheme".
Return the Vicare version string. Example:
(import (vicare)) (implementation-version) ⇒ "0.3d4"
Return a Scheme string representing the contents of the field
machine of the struct utsname filled by uname().
Example:
(import (vicare)) (cpu-architecture) ⇒ "x86_64"
Return a Scheme string representing the contents of the field
nodename of the struct utsname filled by uname().
Example:
(import (vicare)) (machine-name) ⇒ "governatore"
Return a Scheme string representing the contents of the field
sysname of the struct utsname filled by uname().
Example:
(import (vicare)) (os-name) ⇒ "Linux"
Return a Scheme string representing the contents of the field
version of the struct utsname filled by uname().
Example:
(import (vicare)) (os-version) ⇒ "#2 SMP Mon Sep 17 14:19:22 CDT 2012"
Next: iklib syntaxes, Previous: iklib cmdline, Up: iklib [Index]