# std.c: Support optional addr and host arguments in getnameinfo · gitcafe/zig

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

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

Visibility: public

Requested revision: 18ffd48b60aacf3cf1ea387f513848818731dbea

Requested commit: 18ffd48b60aacf3cf1ea387f513848818731dbea

Commit: 18ffd48b60aacf3cf1ea387f513848818731dbea

Tree: 7893589322b004e5e8629544bb344ca2ba395085

Author: Karol Kosek

Committer: Karol Kosek

## Message

```
std.c: Support optional addr and host arguments in getnameinfo

The POSIX spec allows passing null here
https://pubs.opengroup.org/onlinepubs/9799919799/functions/getnameinfo.html

```

## Parents

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

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