Title: EXP12-C. Do not ignore values returned by functions  
Author: Alex Volkovitsky Jun 23, 2008
Last Changed by: David Svoboda Jun 22, 2023
Tiny Link: (useful for email) https://wiki.sei.cmu.edu/confluence/x/mtYxBQ
Export As: Word · PDF  
Incoming Links
SEI CERT C Coding Standard (3)
    Page: POS54-C. Detect and handle POSIX library errors
    Page: FIO10-C. Take care when using the rename() function
    Page: ERR33-C. Detect and handle standard library errors
SEI CERT Oracle Coding Standard for Java (1)
    Page: EXP00-J. Do not ignore values returned by methods
SEI CERT Perl Coding Standard (1)
    Page: EXP32-PL. Do not ignore function return values
Hierarchy
Parent Page
    Page: Rec. 03. Expressions (EXP)
Outgoing Links
External Links (13)
    https://www.mathworks.com/help/bugfinder/ref/certcrec.exp12…
    https://pvs-studio.com/en/docs/warnings/v757/
    https://pvs-studio.com/en/docs/warnings/v797/
    https://pvs-studio.com/en/docs/warnings/v698/
    cwe.mitre.org/
    https://pvs-studio.com/en/docs/warnings/v530/
    https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
    cwe.mitre.org/data/definitions/754.html
    https://wiki.sei.cmu.edu/confluence/display/c/PVS-Studio
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
    https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
SEI CERT C++ Coding Standard (2)     Home page: SEI CERT C++ Coding Standard
    Page: VOID EXP12-CPP. Do not ignore values returned by functions or methods
SEI CERT C Coding Standard (36)     Page: ECLAIR
    Page: Klocwork
    Page: Parasoft
    Page: RuleChecker
    Page: AA. Bibliography
    Page: LDRA
    Page: Astrée_V
    Page: Cppcheck
    Page: Helix QAC
    Page: Splint
    Page: FIO10-C. Take care when using the rename() function
    Page: Axivion Bauhaus Suite_V
    Page: Axivion Bauhaus Suite
    Page: Rose
    Page: ERR00-C. Adopt and implement a consistent and comprehensive error-handling policy
    Page: Coverity
    Page: CodeSonar_V
    Page: Helix QAC_V
    Page: ECLAIR_V
    Page: ERR33-C. Detect and handle standard library errors
    Page: PC-lint Plus
    Page: ERR02-C. Avoid in-band error indicators
    Page: PVS-Studio_V
    Page: BB. Definitions
    Page: LDRA_V
    Page: CodeSonar
    Home page: SEI CERT C Coding Standard
    Page: Polyspace Bug Finder_V
    Page: PC-lint Plus_V
    Page: Cppcheck_V
    Page: Klocwork_V
    Page: Parasoft_V
    Page: Coverity_V
    Page: Splint_V
    Page: Astrée
    Page: RuleChecker_V
SEI CERT Oracle Coding Standard for Java (2)     Home page: SEI CERT Oracle Coding Standard for Java
    Page: EXP00-J. Do not ignore values returned by methods