re__strncopy(): * Like strncpy without padding. */
| 439 | * Like strncpy without padding. |
| 440 | */ |
| 441 | private void |
| 442 | re__strncopy(Char *a, Char *b, size_t n) |
| 443 | { |
| 444 | |
| 445 | while (n-- && *b) |
| 446 | *a++ = *b++; |
| 447 | } |
| 448 | |
| 449 | /* re_clear_eol(): |
| 450 | * Find the number of characters we need to clear till the end of line |