diff options
Diffstat (limited to 'usr/src/man/man2')
-rw-r--r-- | usr/src/man/man2/exec.2 | 8 | ||||
-rw-r--r-- | usr/src/man/man2/fcntl.2 | 1 |
2 files changed, 6 insertions, 3 deletions
diff --git a/usr/src/man/man2/exec.2 b/usr/src/man/man2/exec.2 index ec5cbe64f3..135395f195 100644 --- a/usr/src/man/man2/exec.2 +++ b/usr/src/man/man2/exec.2 @@ -1,5 +1,6 @@ '\" te .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved. +.\" Copyright 2015, Joyent, Inc. .\" Copyright 1989 AT&T. .\" Portions Copyright (c) 1992, X/Open Company Limited. All Rights Reserved. .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at @@ -9,7 +10,7 @@ .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License. .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License. .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner] -.TH EXEC 2 "Jun 16, 2008" +.TH EXEC 2 "Oct 27, 2015" .SH NAME exec, execl, execle, execlp, execv, execve, execvp \- execute a file .SH SYNOPSIS @@ -76,7 +77,8 @@ specified interpreter. The pathname specified in the interpreter file is passed as \fIarg0\fR to the interpreter. If \fIarg\fR was specified in the interpreter file, it is passed as \fIarg1\fR to the interpreter. The remaining arguments to the interpreter are \fIarg0\fR through \fIargn\fR of the originally exec'd -file. The interpreter named by \fIpathname\fR must not be an interpreter file. +file. The interpreter named by \fIpathname\fR may also be an interpreter file. +There can be up to four nested interpreter files before the final interpreter. .sp .LP When a C-language program is executed as a result of this call, it is entered @@ -587,7 +589,7 @@ A signal was caught during the execution of one of the functions in the .ad .RS 16n Too many symbolic links were encountered in translating \fIpath\fR or -\fIfile\fR. +\fIfile\fR, or too many nested interpreter files. .RE .sp diff --git a/usr/src/man/man2/fcntl.2 b/usr/src/man/man2/fcntl.2 index 0506896118..3f7f1797ba 100644 --- a/usr/src/man/man2/fcntl.2 +++ b/usr/src/man/man2/fcntl.2 @@ -388,6 +388,7 @@ return from the process' signal handler, \fBfcntl()\fR will return \fB\(mi1\fR with \fBerrno\fR set to \fBEINTR\fR, and the lock operation will not be done. .RE +.SH FILE LOCKING .sp .ne 2 .na |