BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kclose - close and delete a transport descriptor
LIBRARY CALL
int kclose(
int id)
INPUT
- id - the file to be close which was opened earlier
with kopen().
OUTPUT
none
RETURN VALUE
-1 or 0 depending on whether the operation failed or succeeded.
DESCRIPTION
This function is a replacement for the system "close"
call. The only difference is that kclose() supports
more than just files, it supports other data transports
as well, such as shared memory, pipes, files, etc.
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.