snlockf(8)

snlockf8

Lock files from within shell-scripts (used by sn news system)

Usage

lockf

Overview

lockf can be used to lock files from within shell-scripts. Filedescriptor 3 is always locked, and the lock remains until the process is killed. The process-id is written to standard output, as to facilitate killing the process.

It is used by the sn news system.

Releases

Unchanged in 10 releases since Debian 3.1 (Sarge).

  1. 3.1–12

From sn 0.3.8-12 in Debian 12 (Bookworm). Parsed by carta from the page's man source.