| ... | ... | @@ -501,6 +501,11 @@ extern char *stpncpy (char *__restrict __dest, |
| 501 | 501 | __THROW __nonnull ((1, 2)); |
| 502 | 502 | #endif |
| 503 | 503 | |
| 504 | /* |
| 505 | * strlcpy and strlcat introduced in glibc 2.38 |
| 506 | * https://sourceware.org/git/?p=glibc.git;a=commit;h=2e0bbbfbf95fc9e22692e93658a6fbdd2d4554da |
| 507 | */ |
| 508 | #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 38) || __GLIBC__ > 2 |
| 504 | 509 | #ifdef __USE_MISC |
| 505 | 510 | /* Copy at most N - 1 characters from SRC to DEST. */ |
| 506 | 511 | extern size_t strlcpy (char *__restrict __dest, |
| ... | ... | @@ -513,6 +518,7 @@ extern size_t strlcat (char *__restrict __dest, |
| 513 | 518 | 		 const char *__restrict __src, size_t __n) |
| 514 | 519 | __THROW __nonnull ((1, 2)) __attr_access ((__read_write__, 1, 3)); |
| 515 | 520 | #endif |
| 521 | #endif /* glibc v2.38 and later */ |
| 516 | 522 | |
| 517 | 523 | #ifdef	__USE_GNU |
| 518 | 524 | /* Compare S1 and S2 as strings holding name & indices/version numbers. */ |