26 #if ! defined (octave_oct_uname_h)
27 #define octave_oct_uname_h 1
29 #include "octave-config.h"
44 : m_sysname (
"unknown"), m_nodename (
"unknown"),
45 m_release (
"unknown"), m_version (
"unknown"),
46 m_machine (
"unknown"),
47 msg (
"uname not supported on this system"), err (-1)
51 : m_sysname (unm.m_sysname), m_nodename (unm.m_nodename),
52 m_release (unm.m_release), m_version (unm.m_version),
53 m_machine (unm.m_machine), msg (unm.msg), err (unm.err)
75 std::string
sysname (
void)
const {
return m_sysname; }
76 std::string
nodename (
void)
const {
return m_nodename; }
77 std::string
release (
void)
const {
return m_release; }
78 std::string
version (
void)
const {
return m_version; }
79 std::string
machine (
void)
const {
return m_machine; }
81 std::string
message (
void)
const {
return msg; }
82 int error (
void)
const {
return err; }
std::string machine(void) const
std::string release(void) const
std::string nodename(void) const
std::string version(void) const
std::string message(void) const
std::string sysname(void) const