BOOTSTRAP (
kutils
) functions
LIBRARY ROUTINE
kgetcwd - library call to get the current working directory
LIBRARY CALL
char *kgetcwd( char *path, size_t length)
INPUT
length
- the length of the path string
OUTPUT
path
- the buffer that holds the return string
RETURN VALUE
path on success, NULL otherwise
DESCRIPTION
This routine acts the same as the system routine getcwd(), with one minor change. It actually returns the KHOROS_PWD environment variable.
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.