summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/execve.2
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2002-07-15 20:59:12 +0000
committerkeramida <keramida@FreeBSD.org>2002-07-15 20:59:12 +0000
commit5bd8884c66002f4da091ba3fdf9309e79aae1d86 (patch)
tree0740bbdd50b4e24e3b8d60b613944f1de59b7db7 /lib/libc/sys/execve.2
parent5777e081fa3c49e12058a541a71c4950aa3e5d21 (diff)
downloadFreeBSD-src-5bd8884c66002f4da091ba3fdf9309e79aae1d86.zip
FreeBSD-src-5bd8884c66002f4da091ba3fdf9309e79aae1d86.tar.gz
The .Fn function.
Diffstat (limited to 'lib/libc/sys/execve.2')
-rw-r--r--lib/libc/sys/execve.28
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 675f9b8..ff842da 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -45,7 +45,9 @@
.Ft int
.Fn execve "const char *path" "char *const argv[]" "char *const envp[]"
.Sh DESCRIPTION
-.Fn Execve
+The
+.Fn execve
+function
transforms the calling process into a new process.
The new process is constructed from an ordinary file,
whose name is pointed to by
@@ -202,7 +204,9 @@ return value will be -1 and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
-.Fn Execve
+The
+.Fn execve
+function
will fail and return to the calling process if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
OpenPOWER on IntegriCloud