diff options
Diffstat (limited to 'man2/execve.2')
| -rw-r--r-- | man2/execve.2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man2/execve.2 b/man2/execve.2 index 62becbdd28..7a8a134146 100644 --- a/man2/execve.2 +++ b/man2/execve.2 @@ -158,7 +158,7 @@ shared objects. This interpreter is typically .I /lib/ld-linux.so.2 for binaries linked with glibc (see -.BR ld-linux.so (8)). +.BR ld\-linux.so (8)). .\" .SS Effect on process attributes All process attributes are preserved during an @@ -857,7 +857,7 @@ program: .in +4n .EX .RB "$" " cat > script" -.B #!./myecho script-arg +.B #!./myecho script\-arg .B ^D .RB "$" " chmod +x script" .EE @@ -869,7 +869,7 @@ We can then use our program to exec the script: .EX .RB "$" " ./execve ./script" argv[0]: ./myecho -argv[1]: script-arg +argv[1]: script\-arg argv[2]: ./script argv[3]: hello argv[4]: world |
