# std.os.linux: fix signature of setgroups · gitcafe/zig

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

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

Visibility: public

Requested revision: aceb7e18bd1eb25affe8118e01e066c9e6bb0c04

Requested commit: aceb7e18bd1eb25affe8118e01e066c9e6bb0c04

Commit: aceb7e18bd1eb25affe8118e01e066c9e6bb0c04

Tree: f2b9ed89bd245c8c4348db0df4380c9c9b42ca68

Author: Jonathan Marler

Committer: Isaac Freund

## Message

```
std.os.linux: fix signature of setgroups

the list parameter should be a multi-item pointer rather than a single-item
pointer. see: https://linux.die.net/man/2/setgroups

> setgroups() sets the supplementary group IDs for the calling process...
> the size argument specifies the number of supplementary group IDs in the buffer pointed to by list.

```

## Parents

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

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