sys_uname  [arch/i386/kernel/sys_i386.c]


Gets name and information about current kernel.

Arguments

eax 122
ebx Pointer to an old_utsname structure which will receive the information:
struc old_utsname
{
.sysname  rb 65
.nodename rb 65
.release  rb 65
.version  rb 65
.machine  rb 65
}

old_utsname members:

sysname

Name of the operating system.
nodename
Name by which the system is known on a communications network
release
Version of the operating system.
version
Release date of the operating system.
machine
Hardware architecture on which the operating system is running.

Return values

If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:

-EFAULT ebx is not valid.

Remarks

n/a

Compatibility

n/a