PXFGETARG

POSIX Subroutine: Gets the specified command-line argument.

Module

USE IFPOSIX

構文

CALL PXFGETARG (argnum,str,istr,ierror)

argnum

(Input) INTEGER(4). The number of the command-line argument.

str

(Output) Character. The returned string value.

istr

(Output) INTEGER(4). The length of the returned string; it is zero if an error occurs.

ierror

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

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

The PXFGETARG subroutine places the command-line argument with number argnum into character string str. If argnum is equal to zero, the value of the argument returned is the command name of the executable file.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

関連情報


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

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