aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/sys/execve.2
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commit2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/execve.2
parenta1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff)
downloadsrc-2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3.tar.gz
src-2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3.zip
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls". Use "The .Fn system call" a-la "The .Nm utility". When referring to a non-BSD implementation in the HISTORY section, call syscall a function, to be safe.
Notes
Notes: svn path=/head/; revision=108028
Diffstat (limited to 'lib/libc/sys/execve.2')
-rw-r--r--lib/libc/sys/execve.212
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2
index 4cfabef965da..7e54ac36f15d 100644
--- a/lib/libc/sys/execve.2
+++ b/lib/libc/sys/execve.2
@@ -47,7 +47,7 @@
.Sh DESCRIPTION
The
.Fn execve
-function
+system call
transforms the calling process into a new process.
The new process is constructed from an ordinary file,
whose name is pointed to by
@@ -183,7 +183,7 @@ the calling process:
.Pp
When a program is executed as a result of an
.Fn execve
-call, it is entered as follows:
+system call, it is entered as follows:
.Bd -literal -offset indent
main(argc, argv, envp)
int argc;
@@ -202,7 +202,7 @@ to the arguments themselves.
.Sh RETURN VALUES
As the
.Fn execve
-function overlays the current process image
+system call overlays the current process image
with a new process image the successful call
has no process to return to.
If
@@ -214,7 +214,7 @@ is set to indicate the error.
.Sh ERRORS
The
.Fn execve
-function
+system call
will fail and return to the calling process if:
.Bl -tag -width Er
.It Bq Er ENOTDIR
@@ -289,7 +289,7 @@ of a super-user as well.
.Sh STANDARDS
The
.Fn execve
-function conforms to
+system call conforms to
.St -p1003.1-2001 ,
with the exception of reopening descriptors 0, 1, and/or 2 in certain
circumstances.
@@ -300,5 +300,5 @@ The support for executing interpreted programs is an extension.
.Sh HISTORY
The
.Fn execve
-function call appeared in
+system call appeared in
.Bx 4.2 .