REBOL Programming/access-os

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

ACCESS-OS field /set value 

DESCRIPTION:[edit]

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

ACCESS-OS is a native value.

ARGUMENTS[edit]

  • field -- Valid words: pid, uid, gid (Type: word)

REFINEMENTS[edit]

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

SOURCE CODE[edit]

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"
]

{{BookCat}}