diff options
author | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-08-18 15:18:20 +0000 |
---|---|---|
committer | Jared Yanovich <jaredy@cvs.openbsd.org> | 2005-08-18 15:18:20 +0000 |
commit | 2e58122d61862a24eaba0043a43a1657baccf913 (patch) | |
tree | 9e4791b18ccb265274ec547ab434df75ccd490a2 | |
parent | 5e0ecdba5259bc9d5038b3efbd15f4e223ddf3ce (diff) |
Update a few error descriptions w.r.t. obtaining the limits
that cause the errors to reality.
ok millert, jmc
-rw-r--r-- | lib/libc/sys/intro.2 | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/lib/libc/sys/intro.2 b/lib/libc/sys/intro.2 index 8f90f7478d4..19334a665ff 100644 --- a/lib/libc/sys/intro.2 +++ b/lib/libc/sys/intro.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: intro.2,v 1.32 2005/03/22 15:48:30 hshoexer Exp $ +.\" $OpenBSD: intro.2,v 1.33 2005/08/18 15:18:19 jaredy Exp $ .\" $NetBSD: intro.2,v 1.6 1995/02/27 12:33:41 cgd Exp $ .\" .\" Copyright (c) 1980, 1983, 1986, 1991, 1993 @@ -171,9 +171,15 @@ function). Maximum number of file descriptors allowable on the system has been reached and a request for an open cannot be satisfied until at least one has been closed. +The +.Xr sysctl 3 +variable +.Va kern.maxfiles +contains the current limit. .It Er 24 EMFILE Em "Too many open files" . -(As released, the limit on the number of -open files per process is 64.) +The maximum number of file descriptors allowable for this process +has been reached and a request for an open cannot be satisfied +until at least one has been closed. .Xr getdtablesize 3 will obtain the current limit. .It Er 25 ENOTTY Em "Inappropriate ioctl for device" . @@ -208,8 +214,10 @@ function was issued on a socket, pipe or An attempt was made to modify a file or create a directory on a file system that was read-only at the time. .It Er 31 EMLINK Em "Too many links" . -Maximum allowable hard links to a single file has been exceeded (limit -of 32767 hard links per file). +The maximum allowable number of hard links to a single file has been +exceeded (see +.Xr pathconf 2 +for how to obtain this value). .It Er 32 EPIPE Em "Broken pipe" . A write on a pipe, socket or .Tn FIFO @@ -330,7 +338,9 @@ refused it. This usually results from trying to connect to a service that is inactive on the foreign host. .It Er 62 ELOOP Em "Too many levels of symbolic links" . -A path name lookup involved more than 32 symbolic links. +A path name lookup involved more than 32 +.Pq Dv SYMLOOP_MAX +symbolic links. .It Er 63 ENAMETOOLONG Em "File name too long" . A component of a path name exceeded 255 .Pq Dv MAXNAMELEN |