# glibc: strlcpy and strlcat arrived in glibc 2.38 · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/95a905336337a5f6eba39a31a28235885a12d48e)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 95a905336337a5f6eba39a31a28235885a12d48e

Requested commit: 95a905336337a5f6eba39a31a28235885a12d48e

Commit: 95a905336337a5f6eba39a31a28235885a12d48e

Tree: bedf0ef8e843dcf30134ae003379a8283594ae1d

Author: Pat Tullmann

Committer: Andrew Kelley

## Message

```
glibc: strlcpy and strlcat arrived in glibc 2.38

So only expose these in generic-glibc/string.h if Zig is building
a v2.38 (or later) glibc stub.

Announcement of 2.38 that notes strlcpy and strlcat:
https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00010.html

```

## Parents

- [8a82496520ef25da9203dce527571c8e0574e6a6](https://git.cafe/gitcafe/zig/commit/8a82496520ef25da9203dce527571c8e0574e6a6?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/95a905336337a5f6eba39a31a28235885a12d48e?format=markdown)
