5.4.9. SYS_ISTTY (0x09)

Checks whether a file is connected to an interactive device.

Entry

On entry, r1 contains a pointer to a one-word argument block:

word 1

This is a handle for a previously opened file object.

Return

On exit, r0 contains:

  • 1 if the handle identifies an interactive device

  • 0 if the handle identifies a file

  • a value other than 1 or 0 if an error occurs.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI0058D
Non-Confidential