BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kfoutput - opens/creates a file for writing using kfopen()

LIBRARY CALL

Declaration: kfile *kfoutput(
  char *filename)

INPUT

OUTPUT

none

RETURN VALUE

returns the kfile structure on success, NULL upon failure

DESCRIPTION

This function is just a simplified interface to kfopen() that creates and opens a file for writing. The file is truncated upon a successful kfopen call. The macros calls kfopen using the following syntax:

kfopen(filename, "w")

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.