nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

test open file

Von: Ulli Horlacher (framstag@rus.uni-stuttgart.de) [Profil]
Datum: 08.02.2009 11:12
Message-ID: <gmmb5o$qhs$1@news.belwue.de>
Newsgroup: de.comp.os.unix.programming
Kann man (portabel) testen, ob ein anderer Prozess ein bestimmtes file
geoeffnet hat ohne externe Programme wie lsof aufzurufen?

Beispiel: ich will vor dem Schreiben pruefen, ob (irgend) ein Editor
das file offen hat.

--
Ullrich Horlacher              Informationssysteme und Serverbetrieb
Rechenzentrum                  E-Mail: horlacher@rus.uni-stuttgart.de
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/

[ Auf dieses Posting antworten ]

Antworten