kchdir - library call to change the current working directory
LIBRARY CALL
int kchdir(
const char *path)
INPUT
path - pathname of new directory to create
OUTPUT
none
RETURN VALUE
(0) on success, (-1) otherwise
DESCRIPTION
This routine acts the same as the system routine
chdir(), with one minor change. It makes an
internal call to kfullpath to expand environment
variables, toolbox variables, and ~'s. NOTE:
errno is set by the internal call to chdir()
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/dir.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.