- From: Frank Mori Hess <fmhess_at_users.sourceforge.net>
- Date: Sat, 15 Feb 2003 15:12:02 -0600
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave, It seems to me comedi_perror() usually doesn't work. For example, if you try to run the outp demo on a subdevice that doesn't support output, the comedi_perror() call will report success instead of the EINVAL message. From briefly looking at the error code, it seems like libc_error() (or some function that sets __comedi_errno according to the value of errno) needs to be called after every ioctl that returns an error. So, we I guess we would want to start using a wrapper function named something like comedi_ioctl() that does this? - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+Tq0m5vihyNWuA4URAj9SAJ0ekzzLYU0esATdcgcwKMS2tX+lpwCgqsgm UaaVuHLU/BMTwOm9f5t/cqM= =0/mI -----END PGP SIGNATURE-----
Received on 2003-02-15Z21:12:02