I$GetStt

From NitrOS-9
Revision as of 15:42, 5 April 2014 by Glaw16 (Talk | contribs) (Created page with '{| |- valign="top" | '''Get Status''' | rowspan="2" | '''Returns the status of a file or device''' |- valign="top" | '''OS9 I$GetStt 103F 8D''' |} '''Entry Conditions''' A ''pa…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Get Status Returns the status of a file or device
OS9 I$GetStt 103F 8D

Entry Conditions

A path number

B function code

Error Output

CC carry set on error

B error code, if any

Additional Information

  • The Status is a wildcard call. Use it to handle device parameters that:
    • Are not the same for all devices
    • Are highly hardware-dependent
    • Must be user-changeable
  • The exact operation of the Get Status system call depends on the device driver and file manager associated with the path. A typical use is to determine a terminal’s parameters for such functions as backspace character and echo on/off. The Get Status call is commonly used with the Set Status call.
  • The Get Status function codes that are currently defined are listed in the “Get Status System Calls” section.