emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/processes.texi


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/lispref/processes.texi
Date: Sun, 28 May 2006 22:20:49 +0000

Index: emacs/lispref/processes.texi
diff -u emacs/lispref/processes.texi:1.80 emacs/lispref/processes.texi:1.81
--- emacs/lispref/processes.texi:1.80   Sat May 27 20:31:24 2006
+++ emacs/lispref/processes.texi        Sun May 28 22:20:49 2006
@@ -2185,11 +2185,11 @@
 @var{form} can access and update these dynamically bound variables:
 
 @table @code
address@hidden raw-data
address@hidden bindat-raw
 The data as a byte array.
 
address@hidden pos
-Current position of the unpacking or packing operation.
address@hidden bindat-idx
+Current index into bindat-raw of the unpacking or packing operation.
 
 @item struct
 Alist.
@@ -2243,14 +2243,14 @@
 @subsection Functions to Unpack and Pack Bytes
 
   In the following documentation, @var{spec} refers to a data layout
-specification, @code{raw-data} to a byte array, and @var{struct} to an
+specification, @code{bindat-raw} to a byte array, and @var{struct} to an
 alist representing unpacked field data.
 
address@hidden bindat-unpack spec raw-data &optional pos
address@hidden bindat-unpack spec bindat-raw &optional bindat-idx
 This function unpacks data from the unibyte string or byte
-array @code{raw-data}
+array @code{bindat-raw}
 according to @var{spec}.  Normally this starts unpacking at the
-beginning of the byte array, but if @var{pos} is address@hidden, it
+beginning of the byte array, but if @var{bindat-idx} is address@hidden, it
 specifies a zero-based starting position to use instead.
 
 The value is an alist or nested alist in which each element describes
@@ -2283,15 +2283,15 @@
 according to @var{spec}.
 @end defun
 
address@hidden bindat-pack spec struct &optional raw-data pos
address@hidden bindat-pack spec struct &optional bindat-raw bindat-idx
 This function returns a byte array packed according to @var{spec} from
 the data in the alist @var{struct}.  Normally it creates and fills a
-new byte array starting at the beginning.  However, if @var{raw-data}
+new byte array starting at the beginning.  However, if @var{bindat-raw}
 is address@hidden, it specifies a pre-allocated unibyte string or vector to
-pack into.  If @var{pos} is address@hidden, it specifies the starting
-offset for packing into @code{raw-data}.
+pack into.  If @var{bindat-idx} is address@hidden, it specifies the starting
+offset for packing into @code{bindat-raw}.
 
-When pre-allocating, you should make sure @code{(length @var{raw-data})}
+When pre-allocating, you should make sure @code{(length @var{bindat-raw})}
 meets or exceeds the total length to avoid an out-of-range error.
 @end defun
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]