std.os: fix execv* doc comment

This commit is contained in:
Ali Chraghi 2022-10-06 16:32:07 +03:30 committed by Andrew Kelley
parent ca1c185eb6
commit 5127dae7a2

View File

@ -1753,8 +1753,6 @@ pub const ExecveError = error{
NameTooLong,
} || UnexpectedError;
/// Like `execve` except the parameters are null-terminated,
/// matching the syscall API on all targets. This removes the need for an allocator.
/// This function ignores PATH environment variable. See `execvpeZ` for that.
pub fn execveZ(
path: [*:0]const u8,
@ -1852,8 +1850,6 @@ pub fn execvpeZ_expandArg0(
return err;
}
/// Like `execvpe` except the parameters are null-terminated,
/// matching the syscall API on all targets. This removes the need for an allocator.
/// This function also uses the PATH environment variable to get the full path to the executable.
/// If `file` is an absolute path, this is the same as `execveZ`.
pub fn execvpeZ(