diff options
author | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
commit | a4b155d7a2170a500eb79b46959eef4018441062 (patch) | |
tree | cb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/execve.2 | |
parent | e7e659d1cc574138f455ed70d58a07294211ff5a (diff) | |
download | FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz |
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.
Diffstat (limited to 'lib/libc/sys/execve.2')
-rw-r--r-- | lib/libc/sys/execve.2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/sys/execve.2 b/lib/libc/sys/execve.2 index 4cfabef..7e54ac3 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 . |