BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
koutput - opens/creates a file for writing using kopen()
LIBRARY CALL
int koutput(
char *filename)
INPUT
- filename - the filename to be opened for writing using
the kopen().
OUTPUT
none
RETURN VALUE
returns the kfile id on success, -1 otherwise
DESCRIPTION
This function is just a simplified interface to kopen()
that creates and opens a file for writing. The file is
truncated upon a successful kopen call. The macros calls
kopen using the following syntax:
kopen(filename, KOPEN_WRONLY|KOPEN_CREAT|KOPEN_TRUNC, 0666)
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/include/kutils/kfile.h
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.