aboutsummaryrefslogtreecommitdiff
path: root/lib/libutil/flopen.3
Commit message (Collapse)AuthorAgeFilesLines
* use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-231-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* Convert files to UTF-8 and add some copyright markers where missing.Ulrich Spörlein2012-01-071-1/+1
| | | | Notes: svn path=/head/; revision=229784
* Revert (once again, and hopefully for the last time) to flock(2) locks.Dag-Erling Smørgrav2009-06-061-15/+9
| | | | | | | | | The problem with fcntl(2) locks is that they are not inherited by child processes. This breaks pidfile(3), where the common idiom is to open and lock the PID file before daemonizing. Notes: svn path=/head/; revision=193591
* Reimplement flopen(3) using fcntl(2) locks instead of flock(2) locks.Dag-Erling Smørgrav2008-10-201-8/+9
| | | | Notes: svn path=/head/; revision=184093
* Adjust history.David E. O'Brien2007-09-281-0/+5
| | | | | | | Approved by: re(ken) Notes: svn path=/head/; revision=172381
* Back out previous commit until I figure out why my regression test fails.Dag-Erling Smørgrav2007-08-031-6/+9
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=171706
* Use fcntl(2)-style locks instead of less-portable flock(2)-style locks.Dag-Erling Smørgrav2007-08-031-9/+6
| | | | | | | Approved by: re (kensmith) Notes: svn path=/head/; revision=171705
* Fix typo.Dag-Erling Smørgrav2007-05-101-1/+1
| | | | | | | Submitted by: Bård Skaflestad <bardsk@math.ntnu.no> Notes: svn path=/head/; revision=169455
* DTRT when O_NONBLOCK is specified.Dag-Erling Smørgrav2007-05-101-0/+22
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=169447
* I'm tired of seeing this done incorrectly and non-portably, so add aDag-Erling Smørgrav2007-05-101-0/+79
flopen(3) function which reliably opens and locks a file. MFC after: 3 weeks Notes: svn path=/head/; revision=169446