/* public domain rewrite of memcmp(3) */ #include "ruby/missing.h" #include void * memmove(void *d, const void *s, size_t n) { char *dst = (char *)d; const char *src = (const char *)s; if (src < dst) { src += n; dst += n; for (; n; --n) *--dst = *--src; } else if (dst < src) for (; n; --n) *dst++ = *src++; return d; } t-css/ruby.png' alt='cgit logo'/> index : ruby.git
The Ruby Programming Language
summaryrefslogtreecommitdiff
path: root/timev.h
AgeCommit message (Expand)Author
2019-12-26decouple internal.h headers卜部昌平
2019-04-10timev.h: dummy definition for TAGSnobu
2019-04-10Reverting all commits from r67479 to r67496 because of CI failureskazu
2019-04-10timev.h: dummy definition for TAGSnobu
2018-10-08Timezone support by Time [Feature #14850]nobu
2018-09-25* expand tabs.svn
2018-09-25Moved `struct vtm` stuff from internal.h to timev.hnobu
2018-08-08Store String as zone in struct vtm.akr
2018-01-16timev.h: just use "unsigned int" for bitfieldsnormal
2018-01-02bit-fields other than int is a C99ismshyouhei
2014-02-25configure.in, win32/Makefile.sub: PACKED_STRUCT with VCnobu
2014-02-24time: only use packed struct on x86*normal
2014-02-24time: rearrange+pack vtm and time_object structsnormal