From owner-svn-src-stable@FreeBSD.ORG Fri Nov 18 21:13:43 2011 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2031106564A; Fri, 18 Nov 2011 21:13:43 +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 90ECC8FC0C; Fri, 18 Nov 2011 21:13:43 +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 pAILDhCo099127; Fri, 18 Nov 2011 21:13:43 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pAILDhLl099125; Fri, 18 Nov 2011 21:13:43 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201111182113.pAILDhLl099125@svn.freebsd.org> From: Doug Barton Date: Fri, 18 Nov 2011 21:13:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r227684 - stable/7/lib/libc/sys X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Nov 2011 21:13:43 -0000 Author: dougb Date: Fri Nov 18 21:13:43 2011 New Revision: 227684 URL: http://svn.freebsd.org/changeset/base/227684 Log: MFC r227416: Document that flock can return ENOLCK Modified: stable/7/lib/libc/sys/flock.2 Directory Properties: stable/7/lib/libc/ (props changed) stable/7/lib/libc/stdtime/ (props changed) Modified: stable/7/lib/libc/sys/flock.2 ============================================================================== --- stable/7/lib/libc/sys/flock.2 Fri Nov 18 21:12:58 2011 (r227683) +++ stable/7/lib/libc/sys/flock.2 Fri Nov 18 21:13:43 2011 (r227684) @@ -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 ,