PXFGETCWD

POSIX Subroutine: Returns the path of the current working directory.

Module: USE IFPOSIX

Syntax

CALL PXFGETCWD (buf, ilen, ierror)

buf
(Output) Character. The returned pathname of the current working directory.


ilen
(Output) INTEGER(4). The length of the returned pathname.


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

If successful, ierror is set to zero; otherwise, an error code. A possible error code is EINVAL if the size of buf is insufficient.

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB