🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #18539

Lock files

#18539
From: Colin Mahoney
Date: Wed, 01 Sep 1999 00:00
7 lines
725 bytes
I want to create a lock file while I open a file, process it, write
out the new file then overwrite the old one with the new one.

What's the standard way to do this? I have no previous experience with
linux, so thanks for any help.

Colin Mahoney
Technical Details
Message-ID: <37cf55e2.15291552@news.readysoft.es>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f86c8,3792f127a66f6c06,start
X-Google-Attributes: gidf86c8,public
From: cmahoney@readysoft.es (Colin Mahoney)
Subject: Lock files
Date: 1999/09/01
Message-ID: <37cf55e2.15291552@news.readysoft.es>
X-Deja-AN: 519797719
Content-Transfer-Encoding: 7bit
Organization: Telefonica Transmision de Datos
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: es.comp.os.linux.programacion