Subject: Re: New cat(1) option (was: Re: Possible solution to toolchain/16963 - NBUILDJOBS/METALOG conflict)
To: None <tech-userlevel@netbsd.org>
From: Alan Barrett <apb@cequrux.com>
List: tech-userlevel
Date: 06/08/2002 11:25:56
On Fri, 07 Jun 2002, Mason Loring Bliss wrote:
> Here's an equivalent patch using fcntl(2) directly, instead of flock(2).

Please add fcntl(2) to the SEE ALSO section of the man page,
and add more detail to the description of the -l option,
something like this:

  .It Fl l
  Set an exclusive advisory lock on the standard output file descriptor.
  This lock is set using
  .Xr fcntl 2
  with the
  .Dv F_SETLKW
  command.
  If the output file is already locked,
  .Nm
  will block until the lock is acquired.

--apb (Alan Barrett)