Module: LinuxStat::Uname

Defined in:
ext/utsname/utsname.c

Class Method Summary collapse

Class Method Details

.machineObject



47
48
49
# File 'ext/utsname/utsname.c', line 47

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

.nodenameObject



35
36
37
# File 'ext/utsname/utsname.c', line 35

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

.releaseObject



39
40
41
# File 'ext/utsname/utsname.c', line 39

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

.sysnameObject



31
32
33
# File 'ext/utsname/utsname.c', line 31

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

.versionObject



43
44
45
# File 'ext/utsname/utsname.c', line 43

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