Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */
| 30 | #if !defined(HAVE_STPCPY) |
| 31 | /* Copy SRC to DEST, returning the address of the terminating '\0' in DEST. */ |
| 32 | static inline char * stpcpy (char *dest, const char * src) { |
| 33 | register char *d = dest; |
| 34 | register const char *s = src; |
| 35 | |
| 36 | do |
| 37 | *d++ = *s; |
| 38 | while (*s++ != '\0'); |
| 39 | return d - 1; |
| 40 | } |
| 41 | #endif |
| 42 | |
| 43 | /* Memory allocation via macro defs to get meaningful locations from mtrace() */ |
no outgoing calls
no test coverage detected