Skip to content

UtsName

Record used to return kernel information in fpUName function.

Declaration

Source position: ostypes.inc line 59

type
  UtsName = record
    Sysname: Array[0..UTSNAME_LENGTH-1] of AnsiChar = char;
    Nodename: Array[0..UTSNAME_NODENAME_LENGTH-1] of AnsiChar = char;
    Release: Array[0..UTSNAME_LENGTH-1] of AnsiChar = char;
    Version: Array[0..UTSNAME_LENGTH-1] of AnsiChar = char;
    Machine: Array[0..UTSNAME_LENGTH-1] of AnsiChar = char;
    Domain: Array[0..UTSNAME_DOMAIN_LENGTH-1] of AnsiChar = char;
  end;

Description

The elements of this record are null-terminated C style strings, you cannot access them directly. Note that the Domain field is a GNU extension, and may not be available on all platforms.