BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kmkdir - library call to create a directory

LIBRARY CALL

int kmkdir(
   const char *path,
   mode_t      mode)

INPUT

OUTPUT

none

RETURN VALUE

(0) on success, (-1) otherwise

DESCRIPTION

This routine acts the same as the system routine mkdir(), 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 mkdir()

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.