fifolog.1 (a1e0a00fd282d194858e57fb08d9efd4ed01102d) | fifolog.1 (c022d15e0f399604cd2448401cb3ae7b6a6b8bbd) |
---|---|
1.\" Copyright (c) 2008 Poul-Henning Kamp 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" 27.Dd February 9, 2008 28.Os 29.Dt FIFOLOG 1 30.Sh NAME | 1.\" Copyright (c) 2008 Poul-Henning Kamp 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 14 unchanged lines hidden (view full) --- 23.\" SUCH DAMAGE. 24.\" 25.\" $FreeBSD$ 26.\" 27.Dd February 9, 2008 28.Os 29.Dt FIFOLOG 1 30.Sh NAME |
31.Nm fifolog_create , fifolog_write , fifolog_read | 31.Nm fifolog_create , fifolog_writer , fifolog_reader |
32.Nd "initialize, write, seek and extract data from a fifolog" 33.Sh SYNOPSIS 34.Nm fifolog_create 35.Op Fl l Ar record-size 36.Op Fl r Ar record-count 37.Op Fl s Ar size 38.Ar file 39.Nm fifolog_reader --- 39 unchanged lines hidden (view full) --- 79.Nm fifolog_writer 80will not see the previous contents. 81(The previous contents are not physically erased, and with a bit 82of hand-work all but the first record can be easily recovered.) 83.Pp 84If the 85.Ar file 86does not already exist, | 32.Nd "initialize, write, seek and extract data from a fifolog" 33.Sh SYNOPSIS 34.Nm fifolog_create 35.Op Fl l Ar record-size 36.Op Fl r Ar record-count 37.Op Fl s Ar size 38.Ar file 39.Nm fifolog_reader --- 39 unchanged lines hidden (view full) --- 79.Nm fifolog_writer 80will not see the previous contents. 81(The previous contents are not physically erased, and with a bit 82of hand-work all but the first record can be easily recovered.) 83.Pp 84If the 85.Ar file 86does not already exist, |
87.Nm | 87.Nm fifolog_create |
88will attempt to create and 89.Xr ftruncate 2 90it to the specified size, defaulting to 86400 records of 512 bytes 91if the 92.Fl r , l 93or 94.Fl s 95options do not specify otherwise. --- 123 unchanged lines hidden --- | 88will attempt to create and 89.Xr ftruncate 2 90it to the specified size, defaulting to 86400 records of 512 bytes 91if the 92.Fl r , l 93or 94.Fl s 95options do not specify otherwise. --- 123 unchanged lines hidden --- |