From owner-freebsd-bugs Sat Sep 16 17:33:42 1995 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id RAA09047 for bugs-outgoing; Sat, 16 Sep 1995 17:33:42 -0700 Received: from mail.zrz.TU-Berlin.DE (mail.zrz.TU-Berlin.DE [130.149.4.15]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id RAA09028 for ; Sat, 16 Sep 1995 17:33:38 -0700 Received: from marie.physik.tu-berlin.de by mail.zrz.TU-Berlin.DE with SMTP (PP); Sun, 17 Sep 1995 02:33:21 +0200 Received: (from jan@localhost) by marie.physik.tu-berlin.de (8.6.9/8.6.9) id CAA23134 for bugs@freebsd.org; Sun, 17 Sep 1995 02:33:18 +0200 From: Jan Riedinger Message-Id: <199509170033.CAA23134@marie.physik.tu-berlin.de> Comments: MTA at marie.physik.TU-Berlin.DE is now sendmail v8. Subject: 950726-SNAP: flock To: bugs@freebsd.org Date: Sun, 17 Sep 1995 02:33:15 +0100 (MET DST) X-Mailer: ELM [version 2.4 PL22] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 244 Sender: owner-bugs@freebsd.org Precedence: bulk The man page for flock is slightly broken. Under SYNOPSIS you find: #include but the constants LOCK_SH, etc, are only defined in fcntl.h BTW: It would be nice, if flock could detect a deadlock and return an error for it.