BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kread_bit - read an array of bits

LIBRARY CALL

ssize_t kread_bit(
  int            id,
  unsigned char *data,
  size_t         num)

INPUT

OUTPUT

RETURN VALUE

the number of bits read

DESCRIPTION

This module is used to read an array of bits. The data will need to contain enough memory to store "num" bits.

(note: bits are machine independent and therefore require no conversion. This routine is included to complete the set of read utilities)

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/include/kutils/kread.h

SEE ALSO

kutils(3)

COPYRIGHT

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