# zig libc malloc: set errno when returning null · gitcafe/zig

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

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

Visibility: public

Requested revision: ec02571a30e2975039cef5cb92467082ea5de5c0

Requested commit: ec02571a30e2975039cef5cb92467082ea5de5c0

Commit: ec02571a30e2975039cef5cb92467082ea5de5c0

Tree: a5d18de88e20971d50f5d82d9913cfda71074e98

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig libc malloc: set errno when returning null

```

## Parents

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

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