[PATCH] Expose rtems_verror()
Nick Withers
nick.withers at anu.edu.au
Wed Aug 14 08:12:31 UTC 2013
Hey all,
Attached is a patch exposing rtems_verror().
I'd personally like this as I'm writing up BSD err() / warn()-style
wrappers (taking variable arguments) to try to cut down on the spread of
RTEMS-specific code in my application and to allow some bonus niftyness
(like sysloging).
Does it appeal to any generous committer, at all? :-)
P.S.: I made the name of the first parameter in the declaration match
rtems_error()'s, though they're (both) inconsistent between
declaration / definition ("error_code" versus "error_flag").
P.P.S: I also removed the "Currently just used by RTEMS monitor" Doxygen
comment on the error.h file
--
Nick Withers
Embedded Systems Programmer
Room 2.26, Building 57
Department of Nuclear Physics
Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)
eMail: nick.withers at anu.edu.au
Phone: +61 2 6125 2091
Mobile: +61 414 397 446
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtems_verror.patch
Type: text/x-patch
Size: 2459 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130814/6baae8c0/attachment.bin>
More information about the devel
mailing list