fpIOperm function
Set permission on IO ports.
Declaration
function fpIOperm(From: Cardinal; Num: Cardinal; Value: cint): cintDescription
FpIOperm
sets permissions on
Num ports starting with port
From to
Value. The function returns zero if the call was successful,
a nonzero value otherwise.
Note:
- This works ONLY as root.
- Only the first
0x03ffports can be set. - When doing a FpFork, the permissions are reset. When doing a FpExecVE they are kept.
Errors
Extended error information can be retrieved with FpGetErrno
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
