chdir command from IFPORT Portability Library is a function and not a subroutine like with GNU or NAG.
chdir
IFPORT