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{
17531753 NameTooLong,
17541754} || 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.
17581756/// This function ignores PATH environment variable. See `execvpeZ` for that.
17591757pub fn execveZ(
17601758 path: [*:0]const u8,
......@@ -1852,8 +1850,6 @@ pub fn execvpeZ_expandArg0(
18521850 return err;
18531851}
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.
18571853/// This function also uses the PATH environment variable to get the full path to the executable.
18581854/// If `file` is an absolute path, this is the same as `execveZ`.
18591855pub fn execvpeZ(