Lines Matching +full:sync +full:- +full:2
9 .\" 2. Redistributions in binary form must reproduce the above copyright
49 The flat-file format is a byte stream file with fixed or variable length
76 .Xr open 2
91 .\".Bl -tag -width indent
94 .\"If concurrent access is not needed or the database is read-only this
147 .Bd -literal
156 int (*sync)(const DB *db, u_int flags);
166 .Bl -tag -width indent
172 Since key/data pairs may be cached in memory, failing to sync the file
176 .Va sync
179 routines return -1 on error (setting
189 .Bl -tag -width indent
196 routines return -1 on error (setting
211 .Xr fcntl 2
213 .Xr flock 2
219 routines return -1 on error (setting
230 routines return -1 on error (setting
242 .Bl -tag -width indent
303 routines return -1 on error (setting
328 .Va sync
339 .Bl -tag -width indent
391 routines return -1 on error (setting
401 routines return 2.
402 .It Va sync
405 .Va sync
411 .Bl -tag -width indent
417 .Va sync
427 .Va sync
428 routines return -1 on error (setting
435 .Bd -literal
445 .Bl -tag -width "data"
463 .Xr open 2
467 .Bl -tag -width Er
483 .Xr close 2 ,
484 .Xr read 2 ,
485 .Xr write 2 ,
488 .Xr fsync 2 .
499 .Xr read 2 ,
500 .Xr write 2 ,
514 .Va sync
518 .Xr fsync 2 .