ucspi-ssl
0.99e
TLS encryption for IPv6 communication
ucspi-ssl-0.99e
src
byte_copy.c
Go to the documentation of this file.
1
/* Public domain. */
2
3
#include "
byte.h
"
4
5
void
byte_copy
(
register
void
*to,
register
unsigned
int
n,
register
const
void
*from)
6
{
7
register
char
*t = to;
8
register
const
char
*f = from;
9
10
for
(;;) {
11
if
(!n)
return
; *t++ = *f++; --n;
12
if
(!n)
return
; *t++ = *f++; --n;
13
if
(!n)
return
; *t++ = *f++; --n;
14
if
(!n)
return
; *t++ = *f++; --n;
15
}
16
}
byte_copy
void byte_copy(register void *to, register unsigned int n, register const void *from)
Definition:
byte_copy.c:5
byte.h
Generated on Wed Jul 11 2018 22:50:46 for ucspi-ssl by
1.8.13