Mercurial > hg > nginx-quic
comparison src/core/ngx_string.h @ 110:152567c11325
nginx-0.0.1-2003-07-02-22:51:41 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 02 Jul 2003 18:51:41 +0000 |
parents | b5be4b0448d3 |
children | e29909bd9b8a |
comparison
equal
deleted
inserted
replaced
109:a9bc21d63fe4 | 110:152567c11325 |
---|---|
44 | 44 |
45 /* | 45 /* |
46 * msvc and icc compile memset() to inline "rep stos" | 46 * msvc and icc compile memset() to inline "rep stos" |
47 * while ZeroMemory and bzero are calls. | 47 * while ZeroMemory and bzero are calls. |
48 */ | 48 */ |
49 #define ngx_memzero(buf, n) memset(buf, n, 0) | 49 #define ngx_memzero(buf, n) memset(buf, 0, n) |
50 | 50 |
51 /* msvc and icc compile memcpy() to inline "rep movs" */ | 51 /* msvc and icc compile memcpy() to inline "rep movs" */ |
52 #define ngx_memcpy(dst, src, n) memcpy(dst, src, n) | 52 #define ngx_memcpy(dst, src, n) memcpy(dst, src, n) |
53 #define ngx_cpymem(dst, src, n) ((char *) memcpy(dst, src, n)) + n | 53 #define ngx_cpymem(dst, src, n) ((char *) memcpy(dst, src, n)) + n |
54 | 54 |