summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Stefan Richter 2012-07-31 20:12:14 +0200
committerGravatar Stefan Richter 2012-07-31 20:31:35 +0200
commit77dd78e3b478cc98498dd4b552a18969293c2941 (patch)
treecc0c5079b3d2c0b1e9b90a8048a0ebdc1d7a3a57
parentChangelog, NEWS: update to version 2.1.0 (diff)
Documentation improvement: return code of raw1394_read_cycle_timer{,_and_clock}
"the error code of the ioctl" is always -1. And ioctl() sets errno for us. So let's say this in a way which is less likely to be misunderstood. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to '')
-rw-r--r--src/raw1394.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raw1394.h b/src/raw1394.h
index 8787313..7339311 100644
--- a/src/raw1394.h
+++ b/src/raw1394.h
@@ -369,7 +369,7 @@ int raw1394_read_cycle_timer(raw1394handle_t handle,
* CLOCK_REALTIME is subject to resets; CLOCK_MONOTONIC is subject to gradual
* adjustments; CLOCK_MONOTONIC_RAW is the bare hardware clock.
*
- * Returns: the error code of the ioctl, or 0 if successful.
+ * Returns: 0 on success or -1 on failure (sets errno)
*
* History: New function in libraw1394 v2.1.0.
**/
ns'>-1/+41 2003-02-22Updates for new rawiso ioctl interface.Gravatar bencollins 3-37/+125 2003-01-15add iso_xmit_sync() and iso_xmit_write(); clean up iso handling a bitGravatar dmaas 5-39/+161 2003-01-15implement tag matching for rawiso receptionGravatar dmaas 3-4/+12 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; brought...Gravatar anonymous 3-124/+48 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488