Sign in Join
FPDoc Onlineexperiment

FpUname function

In unit BaseUnix

Return system name.

Declaration

pascal
function FpUname(var name: UtsName): cint

Description

Uname gets the name and configuration of the current Linux kernel, and returns it in the name record.

On success, 0 is returned, on error, -1 is returned.

Errors

Extended error information can be retrieved using fpGetErrno.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.