| www.delorie.com/gnu/docs/gcc/g77_397.html | search |
![]() Buy the book! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
ChDir(Dir) |
ChDir: INTEGER(KIND=1) function.
Dir: CHARACTER; scalar; INTENT(IN).
Intrinsic groups: badu77.
Description:
Sets the current working directory to be Dir.
Returns 0 on success or a non-zero error code.
See chdir(3).
Caution: Using this routine during I/O to a unit connected with a non-absolute file name can cause subsequent I/O on such a unit to fail because the I/O library might reopen files by name.
Due to the side effects performed by this intrinsic, the function form is not recommended.
For information on other intrinsics with the same name: See section 8.11.9.40 ChDir Intrinsic (subroutine).
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |