Navigation

Operators and Keywords

Function List:

C++ API

: [uts, err, msg] = uname ()

Return system information in the structure.

For example:

uname ()
  ⇒ {
        sysname = x86_64
        nodename = segfault
        release = 2.6.15-1-amd64-k8-smp
        version = Linux
        machine = #2 SMP Thu Feb 23 04:57:49 UTC 2006
     }

If successful, err is 0 and msg is an empty string. Otherwise, err is nonzero and msg contains a system-dependent error message.

Package: octave