BOOTSTRAP (kutils) functions


LIBRARY ROUTINE

kbzero - zeros out 'num' bytes (BSD style)

LIBRARY CALL

void kbzero(
  char *dest,
  int  num)

INPUT

OUTPUT

RETURN VALUE

none

DESCRIPTION

This function is a replacement for the BSD system call bzero(). The kbzero() zeros out "num" bytes from ptr. kbzero() will really use kmemset() with a c value of 0, so it will be checked to make sure that the "dest" array is not NULL and "num" is greater than 0.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

$BOOTSTRAP/include/kutils/kmemory.h

SEE ALSO

kutils(3)

COPYRIGHT

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