authorgravatar for alichraghi@proton.meAli Chraghi <alichraghi@proton.me> 2022-10-06 16:32:07+03:30
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-10-16 11:38:22-04:00
log5127dae7a28159af8d348d3680f34d51c5cadaaa
tree169eedbd0b88a5bb37aeef62cf7ee464663d89fc
parentca1c185eb6164123eed29d3d62441608877ed01a

std.os: fix execv* doc comment


1 files changed, 0 insertions(+), 4 deletions(-)

lib/std/os.zig-4
...@@ -1753,8 +1753,6 @@ pub const ExecveError = error{...@@ -1753,8 +1753,6 @@ pub const ExecveError = error{
1753 NameTooLong,1753 NameTooLong,
1754} || UnexpectedError;1754} || UnexpectedError;
17551755
1756/// Like `execve` except the parameters are null-terminated,
1757/// matching the syscall API on all targets. This removes the need for an allocator.
1758/// This function ignores PATH environment variable. See `execvpeZ` for that.1756/// This function ignores PATH environment variable. See `execvpeZ` for that.
1759pub fn execveZ(1757pub fn execveZ(
1760 path: [*:0]const u8,1758 path: [*:0]const u8,
...@@ -1852,8 +1850,6 @@ pub fn execvpeZ_expandArg0(...@@ -1852,8 +1850,6 @@ pub fn execvpeZ_expandArg0(
1852 return err;1850 return err;
1853}1851}
18541852
1855/// Like `execvpe` except the parameters are null-terminated,
1856/// matching the syscall API on all targets. This removes the need for an allocator.
1857/// This function also uses the PATH environment variable to get the full path to the executable.1853/// This function also uses the PATH environment variable to get the full path to the executable.
1858/// If `file` is an absolute path, this is the same as `execveZ`.1854/// If `file` is an absolute path, this is the same as `execveZ`.
1859pub fn execvpeZ(1855pub fn execvpeZ(