BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kunlink - remove a filename from a directory entry

LIBRARY CALL

int kunlink(
   const char *path)

INPUT

OUTPUT

none

RETURN VALUE

-1 or 0 depending on whether the operation failed or succeeded.

DESCRIPTION

This function is used to unlink the kfile. Depending on the different transport being used the behavior will be different. For a file it unlinks the file, but for a shared memory segment it initializes it before using the shmctl() to destroy it.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/objects/library/kutils/src/ktransport.c

SEE ALSO

kutils(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.