Module: LinuxStat::Uname
- Defined in:
- ext/utsname/utsname.c
Class Method Summary collapse
Class Method Details
.machine ⇒ Object
33 34 35 36 |
# File 'ext/utsname/utsname.c', line 33 static VALUE getMachine(VALUE obj) { VALUE machine = status < 0 ? rb_str_new_cstr("") : rb_str_new_cstr(buf.machine) ; return machine ; } |
.nodename ⇒ Object
18 19 20 21 |
# File 'ext/utsname/utsname.c', line 18 static VALUE getNodename(VALUE obj) { VALUE nodename = status < 0 ? rb_str_new_cstr("") : rb_str_new_cstr(buf.nodename) ; return nodename ; } |
.release ⇒ Object
23 24 25 26 |
# File 'ext/utsname/utsname.c', line 23 static VALUE getRelease(VALUE obj) { VALUE release = status < 0 ? rb_str_new_cstr("") : rb_str_new_cstr(buf.release) ; return release ; } |
.sysname ⇒ Object
13 14 15 16 |
# File 'ext/utsname/utsname.c', line 13 static VALUE getSysname(VALUE obj) { VALUE sysname = status < 0 ? rb_str_new_cstr("") : rb_str_new_cstr(buf.sysname) ; return sysname ; } |
.version ⇒ Object
28 29 30 31 |
# File 'ext/utsname/utsname.c', line 28 static VALUE getVersion(VALUE obj) { VALUE version = status < 0 ? rb_str_new_cstr("") : rb_str_new_cstr(buf.version) ; return version ; } |