GNU Info

Info Node: (g77-295.info)ChDir Intrinsic (function)

(g77-295.info)ChDir Intrinsic (function)


Next: ChMod Intrinsic (function) Prev: CDSqRt Intrinsic Up: Other Intrinsics
Enter node , (file) or (file)node

ChDir Intrinsic (function)
..........................

     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: Note: ChDir
Intrinsic (subroutine).


automatically generated by info2www version 1.2.2.9