Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clarification Needed on Rule 20.12
#1
Rule says not to use any functionality of and it is a Required rule.

How to use POSIX compliant timer APIs like timer_create, timer_settime etc is also defined in this header file?
<t></t>
Reply
#2
The MISRA C Guidelines recognise that it is sometimes necessary to use language features such as those in and provides a deviation mechanism to permit you to document the use of these features. Provided that you are familiar with the issues of the undefined, unspecified and implementation-defined behaviour associated with this header file then you should be able to construct a suitable deviation.

See also Rules 1.2 and 3.6.
Posted by and on behalf of the MISRA C Working Group
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)