Title: FIO41-C. Do not call getc(), putc(), getwc(), or putwc() with a stream argument that has side effects  
Author: Justin Pincar Jun 12, 2007
Last Changed by: David Svoboda May 05, 2025
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/PdYxBQ
Export As: Word · PDF  
Incoming Links
Hierarchy
Parent Page
    Page: Rule 09. Input Output (FIO)
Outgoing Links
External Links (11)
    https://wiki.sei.cmu.edu/confluence/display/c/EXP30-C.+Do+n…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://www.mathworks.com/help/bugfinder/ref/certcrulefio41…
    https://wiki.sei.cmu.edu/confluence/display/c/FIO24-C.+Do+n…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/SEI+CERT+C+Co…
    https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
    https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C Coding Standard (21)     Page: Astrée
    Page: RuleChecker_V
    Page: Axivion Bauhaus Suite_V
    Page: RuleChecker
    Page: Parasoft
    Page: PRE31-C. Avoid side effects in arguments to unsafe macros
    Page: Cppcheck Premium_V
    Page: CC. Undefined Behavior
    Page: BB. Definitions
    Page: Helix QAC_V
    Page: ERR33-C. Detect and handle standard library errors
    Page: Parasoft_V
    Page: Cppcheck Premium
    Page: Polyspace Bug Finder_V
    Page: EXP30-C. Do not depend on the order of evaluation for side effects
    Page: Astrée_V
    Page: Helix QAC
    Page: LDRA
    Home page: SEI CERT C Coding Standard
    Page: LDRA_V
    Page: FIO24-C. Do not open a file that is already open