# \[breaking\] standardize std.os execve functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 8cf3a4d586b675a239c9cfa1ea07fa9f59ebf0a4

Requested commit: 8cf3a4d586b675a239c9cfa1ea07fa9f59ebf0a4

Commit: 8cf3a4d586b675a239c9cfa1ea07fa9f59ebf0a4

Tree: 8237d284aec8fc023b6fb17b058a5eae992e64ad

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
[breaking] standardize std.os execve functions

 * `std.os.execve` had the wrong name; it should have been
   `std.os.execvpe`. This is now corrected.
 * introduce `std.os.execveC` which does not look at PATH, and uses
   null terminated parameters, matching POSIX ABIs. It does not
   require an allocator.
 * fix typo nonsense doc comment in `std.fs.MAX_PATH_BYTES`.
 * introduce `std.os.execvpeC`, which is like `execvpe` except it
   uses null terminated parameters, matching POSIX ABIs, and thus
   does not require an allocator.
 * `std.os.execvpe` implementation is reworked to only convert
   parameters and then delegate to `std.os.execvpeC`.
 * `std.os.execvpeC` improved to handle `ENOTDIR`. See #3415

```

## Parents

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

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