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

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

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

Visibility: public

Requested revision: 4a5d73a34d6473a6970d6aaa31703cfa43135729

Requested commit: 4a5d73a34d6473a6970d6aaa31703cfa43135729

Commit: 4a5d73a34d6473a6970d6aaa31703cfa43135729

Tree: 207aeee0c61bad3ecdda23e5554d0960831c7a5b

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

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

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