# enable pwd.h functions for other OSes · gitcafe/zig

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

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

Visibility: public

Requested revision: a2d21d63270ebb5eec0d437f7726c261455da66b

Requested commit: a2d21d63270ebb5eec0d437f7726c261455da66b

Commit: a2d21d63270ebb5eec0d437f7726c261455da66b

Tree: fa268a946085dd214aa63e29454c9119e486b0c5

Author: Chinmay Dalal

Committer: Alex Rønne Petersen

## Message

```
enable pwd.h functions for other OSes

also add the layout of `struct passwd` for DragonflyBSD
and FreeBSD:
 - https://github.com/DragonFlyBSD/DragonFlyBSD/blob/c267aac0072dae6cf4ae874605f3f0659a2fc820/include/pwd.h#L112
 - https://cgit.freebsd.org/src/tree/include/pwd.h?id=d66f9c86fa3fd8d8f0a56ea96b03ca11f2fac1fb#n114

```

## Parents

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

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