BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kwrite_bit - write an array of bits
LIBRARY CALL
ssize_t kwrite_bit(
int id,
unsigned char *data,
size_t num)
INPUT
- id - the file id to be written which was opened earlier
with kopen().
- data - the unsigned char array which holds the data.
- num - the number of bits to be written.
OUTPUT
none
RETURN VALUE
the number of bits written
DESCRIPTION
This module is used to write an array of bits.
(note: bits 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.