# std: Nicer way to access the PEB · gitcafe/zig

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

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

Visibility: public

Requested revision: b9a1d67637cfae6206fffce78fc2e40780ef4fb5

Requested commit: b9a1d67637cfae6206fffce78fc2e40780ef4fb5

Commit: b9a1d67637cfae6206fffce78fc2e40780ef4fb5

Tree: 9b36f734cb9814ab03114ddecb0b4b0965858a6a

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Nicer way to access the PEB

Use the NtCurrentTeb API instead of using some inline asm, this is much
nicer and also more portable.

Closes #4645

```

## Parents

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

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