Jump to content

Rebol Programming/access-os

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
ACCESS-OS field /set value 

DESCRIPTION:

[edit | edit source]

Access to various operating system functions (getuid, setuid, getpid, kill, etc.)

ACCESS-OS is a native value.

ARGUMENTS

[edit | edit source]
  • field -- Valid words: pid, uid, gid (Type: word)

REFINEMENTS

[edit | edit source]
  • /set -- To set uid, gid, or kill pid (sig 15)
    • value -- Argument, such as uid, gid, or pid (Type: integer)

SOURCE CODE

[edit | edit source]
access-os: native[
    {Access to various operating system functions (getuid, setuid, getpid, kill, etc.)} 
    field [word!] "Valid words: pid, uid, gid" 
    /set "To set uid, gid, or kill pid (sig 15)" 
    value [integer!] "Argument, such as uid, gid, or pid"
]