Typos and spelling fixes.
Submitted by: charnier
This commit is contained in:
parent
8ad08d33c1
commit
176e822873
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=63812
@ -32,15 +32,15 @@
|
|||||||
.Nd synchronize a file's in-core state with that on disk
|
.Nd synchronize a file's in-core state with that on disk
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm fsync
|
.Nm fsync
|
||||||
.Ar file ...
|
.Ar
|
||||||
.Sh DESCRIPTION
|
.Sh DESCRIPTION
|
||||||
.Nm Fsync
|
.Nm Fsync
|
||||||
causes all modified data and meta-data of
|
causes all modified data and meta-data of
|
||||||
a file to be written to a permanent storage device.
|
a file to be written to a permanent storage device.
|
||||||
.Pp
|
.Pp
|
||||||
.Nm Fync
|
.Nm Fsync
|
||||||
utilizes the
|
utilizes the
|
||||||
.Xr fync 2
|
.Xr fsync 2
|
||||||
function call.
|
function call.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr fsync 2 ,
|
.Xr fsync 2 ,
|
||||||
|
@ -22,10 +22,13 @@
|
|||||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
|
||||||
* $FreeBSD$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef lint
|
||||||
|
static const char rcsid[] =
|
||||||
|
"$FreeBSD$";
|
||||||
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -57,6 +60,6 @@ main(int argc, char *argv[])
|
|||||||
void
|
void
|
||||||
usage()
|
usage()
|
||||||
{
|
{
|
||||||
fprintf(stderr, "usaged: fsync file ...\n");
|
fprintf(stderr, "usage: fsync file ...\n");
|
||||||
exit(EX_USAGE);
|
exit(EX_USAGE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user