Nadym Salem wrote: > On Fri, August 10, 2007 14:58, Jan Kiszka wrote: > >>> is it possible to include a list of error codes into rt_dev_close() >>> documentation in the API ? >>> I am getting error code -11 and don't know what it is. >> http://www.xenomai.org/index.php/Resolving_Error_Codes > > That helps me reading errno codes, perror does the same, doesn't it ? > Since rt_dev_close does not set errno, it does not help, same with -524 > yesterday. > Am I wrong ?
errno is only _one_ way to get UNIX error codes to the user (see all the pthread functions...). So, although rt_dev functions do not set errno, they still return standard error codes (bugs aside). Jan PS: reply-to-all
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users