# add FreeBSD support to std.os.getFdPath · gitcafe/zig

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

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

Visibility: public

Requested revision: 397e6547a9b1745df520a65ca615934b8c0a02d2

Requested commit: 397e6547a9b1745df520a65ca615934b8c0a02d2

Commit: 397e6547a9b1745df520a65ca615934b8c0a02d2

Tree: 5c1fc6340f038073228ddc04f5207a68f2af4e0f

Author: Kim SHrier

Committer: Veikka Tuominen

## Message

```
add FreeBSD support to std.os.getFdPath

This implementation uses the F_KINFO fcntl command added in FreeBSD
13 release. FreeBSD 12 users get a compile error.

Co-authored-by: Stephen Gregoratto <dev@sgregoratto.me>

```

## Parents

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

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