mention PATH_MAX instead of 16.
This commit is contained in:
parent
c359006f4e
commit
7dab8608fa
@ -1,4 +1,4 @@
|
|||||||
.\" $NetBSD: openpty.3,v 1.16 2012/07/27 18:22:04 wiz Exp $
|
.\" $NetBSD: openpty.3,v 1.17 2012/07/27 21:33:46 christos Exp $
|
||||||
.\"
|
.\"
|
||||||
.\" Copyright (c) 1995
|
.\" Copyright (c) 1995
|
||||||
.\" The Regents of the University of California. All rights reserved.
|
.\" The Regents of the University of California. All rights reserved.
|
||||||
@ -31,7 +31,7 @@
|
|||||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
.\" SUCH DAMAGE.
|
.\" SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd July 22, 2012
|
.Dd July 27, 2012
|
||||||
.Dt OPENPTY 3
|
.Dt OPENPTY 3
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -71,14 +71,16 @@ is non-null, the filename of the slave is returned in
|
|||||||
The length of
|
The length of
|
||||||
.Fa name
|
.Fa name
|
||||||
is limited to
|
is limited to
|
||||||
.Dv 16
|
.Dv PATH_MAX
|
||||||
characters in the current
|
as any other regular path name, so a buffer of this size should be used.
|
||||||
.Xr ptm 4
|
.\" .Dv 16
|
||||||
device driver (including the terminating
|
.\" characters in the current
|
||||||
.Dv NUL )
|
.\" .Xr ptm 4
|
||||||
which limits the maximum to
|
.\" device driver (including the terminating
|
||||||
.Dv 100,000
|
.\" .Dv NUL )
|
||||||
ptys.
|
.\" which limits the maximum to
|
||||||
|
.\" .Dv 100,000
|
||||||
|
.\" ptys.
|
||||||
If
|
If
|
||||||
.Fa termp
|
.Fa termp
|
||||||
is non-null, the terminal parameters of the slave will be set to the
|
is non-null, the terminal parameters of the slave will be set to the
|
||||||
|
Loading…
Reference in New Issue
Block a user