BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kwrite_ubyte - write an array of unsigned bytes
LIBRARY CALL
ssize_t kwrite_ubyte(
int id,
unsigned char *data,
size_t num)
INPUT
- id - the file id to be written to which was opened earlier
with kopen().
- data - the unsigned char array which holds the data.
- num - the number of unsigned bytes to be written.
OUTPUT
none
RETURN VALUE
the number of bytes written
DESCRIPTION
This module is used to write an array of unsigned bytes.
(note: bytes are machine independent and therefore
require no conversion. This routine is included to
complete the set of write utilities)
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/include/kutils/kwrite.h
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.