Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3717 | reyssat | 1 | #ifndef basicstr |
2 | #define basicstr |
||
3 | |||
4 | /* copy of possibly overlapping strings, to replace strcpy which is not guanranteed 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 | |||
13 | #endif /* basicstr */ |
||
14 |