Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* flock() semantics
@ 1995-08-08  4:00 Murray S. Kucherawy
  1995-08-09  4:00 ` John Hascall
  0 siblings, 1 reply; 2+ messages in thread
From: Murray S. Kucherawy @ 1995-08-08  4:00 UTC (permalink / raw)


If I lock a file with flock() and close it, is the lock implicitly removed
or do I have to unlock it with flock() again?  The man page on OSF/1 v3.0
doesn't say either way.
-- 
Murray S. Kucherawy ==========================================================
Software Manager            HookUp Communication Corporation - Ontario, CANADA
E-mail: mskucher@hookup.net          NIC Handle "MSK"           (905) 847-8000
--  We are Intel of Borg.  Division is futile.  You will be approximated.  --



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: flock() semantics
  1995-08-08  4:00 flock() semantics Murray S. Kucherawy
@ 1995-08-09  4:00 ` John Hascall
  0 siblings, 0 replies; 2+ messages in thread
From: John Hascall @ 1995-08-09  4:00 UTC (permalink / raw)


Murray S. Kucherawy <mskucher@vertex.tor.hookup.net> wrote:
}If I lock a file with flock() and close it, is the lock implicitly removed
}or do I have to unlock it with flock() again?  The man page on OSF/1 v3.0
}doesn't say either way.

   It's unlocked at close.

John
-- 
John Hascall                ``An ill-chosen word is the fool's messenger.''
Moderator, comp.unix.wizards
Systems Software Engineer, ISU Comp Center + Ames, IA  50011 + 515/294-9551
<a href="http://www.cc.iastate.edu/staff/systems/john/">My Homepage</a>



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-08-09  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-08-08  4:00 flock() semantics Murray S. Kucherawy
1995-08-09  4:00 ` John Hascall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox