1 /* R_STDLIB.C - platform-specific C library routines for RSAREF
4 /* Copyright (C) RSA Laboratories, a division of RSA Data Security,
5 Inc., created 1991. All rights reserved.
12 void R_memset (output, value, len)
13 POINTER output; /* output block */
14 int value; /* value */
15 unsigned int len; /* length of block */
18 memset (output, value, len);
21 void R_memcpy (output, input, len)
22 POINTER output; /* output block */
23 POINTER input; /* input block */
24 unsigned int len; /* length of blocks */
27 memcpy (output, input, len);
30 int R_memcmp (firstBlock, secondBlock, len)
31 POINTER firstBlock; /* first block */
32 POINTER secondBlock; /* second block */
33 unsigned int len; /* length of blocks */
36 return (memcmp (firstBlock, secondBlock, len));