# std.process.Child: implement maxrss on Darwin · gitcafe/zig

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

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

Visibility: public

Requested revision: f6a2b72ba8b6ab8f8dbef223788c6458af3d4da0

Requested commit: f6a2b72ba8b6ab8f8dbef223788c6458af3d4da0

Commit: f6a2b72ba8b6ab8f8dbef223788c6458af3d4da0

Tree: 0728917fa73f5a86d9428f8f2e59957dd9237425

Author: tjog

Committer: Jakub Konka

## Message

```
std.process.Child: implement maxrss on Darwin

Notably the Darwin (XNU) kernel the maxrss field is number of bytes
and not kilobytes (kibibytes) like other platforms (e.g. Linux, BSD).

watchOS and tvOS are not supported because they do not have the ability
to spawn a child process. iOS is enabled but due to OS sandboxing it
should fail with a permission error.

```

## Parents

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

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