Module Name: othersrc Committed By: wiz Date: Wed Mar 23 06:55:44 UTC 2011
Modified Files: othersrc/external/bsd/rs/dist: librs.3 Log Message: Remove trailing whitespace; new sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/rs/dist/librs.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: othersrc/external/bsd/rs/dist/librs.3 diff -u othersrc/external/bsd/rs/dist/librs.3:1.2 othersrc/external/bsd/rs/dist/librs.3:1.3 --- othersrc/external/bsd/rs/dist/librs.3:1.2 Wed Mar 23 03:17:48 2011 +++ othersrc/external/bsd/rs/dist/librs.3 Wed Mar 23 06:55:44 2011 @@ -1,4 +1,4 @@ -.\" $NetBSD: librs.3,v 1.2 2011/03/23 03:17:48 agc Exp $ +.\" $NetBSD: librs.3,v 1.3 2011/03/23 06:55:44 wiz Exp $ .\" .\" Copyright (c) 2011 Alistair Crooks <a...@netbsd.org> .\" All rights reserved. @@ -68,7 +68,7 @@ is a character which has been modified, whilst an .Dv erasure is -a character which has been modified, +a character which has been modified, and whose location within the data is known. Due to its most common usage, erasures are not common, and errors are the most common use for the parity bytes. @@ -79,7 +79,7 @@ .Dq parity bytes, which can be used to detect erasures in transmission of data, or of corruption of data at rest. -As well as detecting erasures and errors in the data, the parity bytes can be +As well as detecting erasures and errors in the data, the parity bytes can be used to reconstruct the original data, provided that enough data has been transmitted. .Pp @@ -98,8 +98,8 @@ The .Fn rs_put_header function is used to store information about the encoding in -the output that is generated. This will allow a future call -of the +the output that is generated. +This will allow a future call of the .Fn rs_decode function to know the exact coding parameters in order to reconstruct the original data, by using the @@ -107,7 +107,7 @@ function. .Pp The output size from the -.Fn rs_encode +.Fn rs_encode function depends on the number of parity bytes, and the number of data bytes used. In addition, there is an overhead of 12 bytes to hold the