diff options
Diffstat (limited to 'Doc/lib/libbz2.tex')
-rw-r--r-- | Doc/lib/libbz2.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/lib/libbz2.tex b/Doc/lib/libbz2.tex index 11801fe..36bc0d2 100644 --- a/Doc/lib/libbz2.tex +++ b/Doc/lib/libbz2.tex @@ -81,10 +81,10 @@ is an approximate bound on the total number of bytes in the lines returned. \begin{methoddesc}[BZ2File]{seek}{offset\optional{, whence}} Move to new file position. Argument \var{offset} is a byte count. Optional -argument \var{whence} defaults to \code{0} (offset from start of file, -offset should be \code{>= 0}); other values are \code{1} (move relative to -current position, positive or negative), and \code{2} (move relative to end -of file, usually negative, although many platforms allow seeking beyond +argument \var{whence} defaults to \code{os.SEEK_SET} or \code{0} (offset from start of file; +offset should be \code{>= 0}); other values are \code{os.SEEK_CUR} or \code{1} (move relative to +current position; offset can be positive or negative), and \code{os.SEEK_END} or \code{2} (move relative to end +of file; offset is usually negative, although many platforms allow seeking beyond the end of a file). Note that seeking of bz2 files is emulated, and depending on the parameters |