MISRA Discussion Forums
Clarification Needed on Rule 20.12 - Printable Version

+- MISRA Discussion Forums (https://forum.misra.org.uk)
+-- Forum: MISRA C (https://forum.misra.org.uk/forumdisplay.php?fid=4)
+--- Forum: MISRA-C: 2004 rules (https://forum.misra.org.uk/forumdisplay.php?fid=17)
+---- Forum: 6.20 Standard Libraries (https://forum.misra.org.uk/forumdisplay.php?fid=42)
+---- Thread: Clarification Needed on Rule 20.12 (/showthread.php?tid=632)



Clarification Needed on Rule 20.12 - vijayendra - 05-03-2009

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?


Re: Clarification Needed on Rule 20.12 - misra-c - 08-04-2009

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.