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