PXFACCESS

POSIX Subroutine: Determines the accessibility of a file.

Module

USE IFPOSIX

構文

CALL PXFACCESS (path,ilen,iamode,ierror)

path

(Input) Character. The name of the file.

ilen

(Input) INTEGER(4). The length of the path string.

iamode

(Input) INTEGER(4). One or more of the following:

0

Checks for existence of the file.

11

Checks for execute permission.

2

Checks for write access.

4

Checks for read access.

6

Checks for read/write access.

1L*X only

ierror

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

If access is permitted, the result value is zero; otherwise, an error code. Possible error codes are:

On Windows* systems, if the name given is a directory name, the function only checks for existence. All directories have read/write access on Windows* systems.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB


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

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