Module: LinuxStat::Uname

Defined in:
ext/utsname/utsname.c

Class Method Summary collapse

Class Method Details

.machineObject



45
46
47
# File 'ext/utsname/utsname.c', line 45

static VALUE getMachine(VALUE obj) {
  return rb_str_new_cstr(machine) ;
}

.nodenameObject



33
34
35
# File 'ext/utsname/utsname.c', line 33

static VALUE getNodename(VALUE obj) {
  return rb_str_new_cstr(nodename) ;
}

.releaseObject



37
38
39
# File 'ext/utsname/utsname.c', line 37

static VALUE getRelease(VALUE obj) {
  return rb_str_new_cstr(release) ;
}

.sysnameObject



29
30
31
# File 'ext/utsname/utsname.c', line 29

static VALUE getSysname(VALUE obj) {
  return rb_str_new_cstr(sysname) ;
}

.versionObject



41
42
43
# File 'ext/utsname/utsname.c', line 41

static VALUE getVersion(VALUE obj) {
  return rb_str_new_cstr(version) ;
}