From owner-svn-src-head@FreeBSD.ORG Thu Nov 10 06:20:19 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36175106564A; Thu, 10 Nov 2011 06:20:19 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 25D4E8FC15; Thu, 10 Nov 2011 06:20:19 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pAA6KJgY017749; Thu, 10 Nov 2011 06:20:19 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pAA6KJ3h017747; Thu, 10 Nov 2011 06:20:19 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201111100620.pAA6KJ3h017747@svn.freebsd.org> From: Doug Barton Date: Thu, 10 Nov 2011 06:20:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227416 - head/lib/libc/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2011 06:20:19 -0000 Author: dougb Date: Thu Nov 10 06:20:18 2011 New Revision: 227416 URL: http://svn.freebsd.org/changeset/base/227416 Log: Document that flock can return ENOLCK Modified: head/lib/libc/sys/flock.2 Modified: head/lib/libc/sys/flock.2 ============================================================================== --- head/lib/libc/sys/flock.2 Thu Nov 10 06:19:18 2011 (r227415) +++ head/lib/libc/sys/flock.2 Thu Nov 10 06:20:18 2011 (r227416) @@ -28,7 +28,7 @@ .\" @(#)flock.2 8.2 (Berkeley) 12/11/93 .\" $FreeBSD$ .\" -.Dd January 22, 2008 +.Dd November 9, 2011 .Dt FLOCK 2 .Os .Sh NAME @@ -154,6 +154,8 @@ refers to an object other than a file. The argument .Fa fd refers to an object that does not support file locking. +.It Bq Er ENOLCK +A lock was requested, but no locks are available. .El .Sh SEE ALSO .Xr close 2 ,