BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kcopyfile - copy the contents of one filename to another

LIBRARY CALL

ssize_t kcopyfile(
   const char *ifilename,
   const char *ofilename)

INPUT

OUTPUT

none

RETURN VALUE

the number of actual bytes written or -1 upon failure.

DESCRIPTION

This routine copies the contents of a input filename to an output filename. The contents of the files are copied using the Khoros transport mechanism.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kutils(3)

COPYRIGHT

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