From c042d0ca4a2432882fc4be47ceb64b394ffe6cec Mon Sep 17 00:00:00 2001 From: Maxim Konovalov Date: Fri, 26 Jan 2018 08:38:26 +0000 Subject: [PATCH] o EMFILE errno documented. PR: 219209 Submitted by: yuri (with minor adjustment) Reviewed by: brooks --- lib/libc/sys/shmat.2 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/libc/sys/shmat.2 b/lib/libc/sys/shmat.2 index fd1db932ce8..e7fbe0fba0a 100644 --- a/lib/libc/sys/shmat.2 +++ b/lib/libc/sys/shmat.2 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 2, 1995 +.Dd January 25, 2018 .Dt SHMAT 2 .Os .Sh NAME @@ -104,6 +104,11 @@ The .Fa addr argument was not an acceptable address. +.It Bq Er EMFILE +Failed to attach the shared memory segment because the per-process +.Va kern.ipc.shmseg +.Xr sysctl 3 +limit was reached. .El .Pp The