From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5ea6fb718d8c173f,start X-Google-Attributes: gidfee84,public From: mskucher@vertex.tor.hookup.net (Murray S. Kucherawy) Subject: flock() semantics Date: 1995/08/08 Message-ID: <408don$r1r@vertex.tor.hookup.net>#1/1 X-Deja-AN: 107754493 organization: HookUp Communication Corporation, Oakville, Ontario, CANADA nntp-posting-user: mskucher newsgroups: comp.unix.osf.osf1 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. -- From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,5ea6fb718d8c173f X-Google-Attributes: gidfee84,public From: john@iastate.edu (John Hascall) Subject: Re: flock() semantics Date: 1995/08/09 Message-ID: <4096h5$icd@news.iastate.edu>#1/1 X-Deja-AN: 107754501 references: <408don$r1r@vertex.tor.hookup.net> organization: Iowa State University, Ames, Iowa USA newsgroups: comp.unix.osf.osf1 Murray S. Kucherawy 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 My Homepage