Subversion Repositories wimsdev

Rev

Rev 6382 | Blame | Last modification | View Log | RSS feed

  1. #ifndef basicstr
  2. #define basicstr
  3.  
  4. /* copy of possibly overlapping strings, to replace strcpy which is not guaranteed in this case
  5.    and indeed produces errors particularly on 64 bits computers */
  6.  
  7. void ovlstrcpy(char *dest, char *src)
  8. {
  9.   memmove(dest, src, strlen(src)+1);
  10. }
  11.  
  12. #endif /* basicstr */
  13.