# linux.bpf: expose map_get_next_key · gitcafe/zig

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

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

Visibility: public

Requested revision: 0196010b0cdc0854286fa2442dc28b45f1278425

Requested commit: 0196010b0cdc0854286fa2442dc28b45f1278425

Commit: 0196010b0cdc0854286fa2442dc28b45f1278425

Tree: 94779d112f29ca23f8f34c41d2052cb9c5c2a7cf

Author: bfredl

Committer: Andrew Kelley

## Message

```
linux.bpf: expose map_get_next_key

Returning a bool allows to conveniently use it as the condition
of a while loop.

Also remove restriction that ST cannot be double-word.
While imm is only 32-bit, this value is extended into a 64-bit
memory location.

```

## Parents

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

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