PXFGETATTY

POSIX Subroutine: Tests whether a file descriptor is connected to a terminal.

Module

USE IFPOSIX

構文

CALL PXFGETATTY (ifildes,isatty,ierror)

ifildes

(Input) INTEGER(4). The file descriptor.

isatty

(Output) LOGICAL(4). The returned value.

ierror

(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

If file descriptor ifildes is open and connected to a terminal, isatty returns .TRUE.; otherwise, .FALSE..

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB


このヘルプトピックについてのフィードバックを送信

© 1996-2011 Intel Corporation. 無断での引用、転載を禁じます。