23 #if ! defined (octave_oct_uname_h) 24 #define octave_oct_uname_h 1 26 #include "octave-config.h" 41 : m_sysname (
"unknown"), m_nodename (
"unknown"),
42 m_release (
"unknown"), m_version (
"unknown"),
43 m_machine (
"unknown"),
44 msg (
"uname not supported on this system"),
err (-1)
48 : m_sysname (unm.m_sysname), m_nodename (unm.m_nodename),
49 m_release (unm.m_release), m_version (unm.m_version),
50 m_machine (unm.m_machine), msg (unm.msg),
err (unm.
err)
70 ~
uname (
void) =
default;
97 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 99 OCTAVE_DEPRECATED (4.2,
"use 'octave::sys::uname' instead")
100 typedef
octave::sys::uname octave_uname;
std::string version(void) const
std::string sysname(void) const
std::string nodename(void) const
std::string message(void) const
std::string release(void) const
OCTAVE_EXPORT octave_value_list error nd deftypefn *const octave_scalar_map err
std::string machine(void) const
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string