home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / general / procssng / ccs / ccs-11.lha / ccs-lib / rlelib / bstring.c next >
Encoding:
C/C++ Source or Header  |  1992-01-15  |  735 b   |  49 lines

  1. /*
  2.  *            B S T R I N G . C
  3.  *
  4.  *  Interface Berkeley bzero() and bcopy() to SystemV routines,
  5.  *  when not on a Berkeley system.
  6.  *
  7.  *  Author -
  8.  *    Michael John Muuss
  9.  *  
  10.  *  Source -
  11.  *    SECAD/VLD Computing Consortium, Bldg 394
  12.  *    The U. S. Army Ballistic Research Laboratory
  13.  *    Aberdeen Proving Ground, Maryland  21005-5066
  14.  *  
  15.  *  Distribution Status -
  16.  *    Public Domain, Distribution Unlimitied.
  17.  */
  18. #ifndef lint
  19. static char RCSid[] = "@(#)$Id: bstring.c,v 3.0 90/08/03 15:20:02 spencer Exp $ (BRL)";
  20. #endif
  21.  
  22. #ifndef BSD
  23.  
  24. /*
  25.  *            B Z E R O
  26.  */
  27. void
  28. bzero(str,n)
  29. char    *str;
  30. int    n;
  31. {
  32.     memset( str, '\0', n );
  33. }
  34.  
  35. /*
  36.  *            B C O P Y
  37.  */
  38. void
  39. bcopy(from,to,count)
  40. char    *from;
  41. char    *to;
  42. int    count;
  43. {
  44.     memcpy( to, from, count );
  45. }
  46.  
  47. #endif
  48.  
  49.