From 7e0247279729343d1a72a100323148b025f8959e Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 4 Jun 2003 04:15:02 +0000 Subject: [PATCH] Change return value of comedi_data_{read|write}() --- doc/funcref | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/funcref b/doc/funcref index 8dbb2c9..6b440c5 100644 --- a/doc/funcref +++ b/doc/funcref @@ -480,8 +480,8 @@ Description: input channel at an earlier time with comedi_data_read_hint(). - On sucess, comedi_data_read() returns 0. If there is an - error, -1 is returned. + On sucess, comedi_data_read() returns 1 (the number of samples + read). If there is an error, -1 is returned. Data values returned by this function are unsigned integers less than or equal to the maximum sample value of the channel, @@ -554,8 +554,8 @@ Description: The function comedi_data_write() writes the data value specified by the parameter data to the specified channel. - On sucess, comedi_data_write() returns 0. If there is an error, -1 is - returned. + On sucess, comedi_data_write() returns 1 (the number of samples + written). If there is an error, -1 is returned. Function: comedi_dio_config -- change input/output properties of channel Retval: int -- 2.26.2