Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT C Coding Standard
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C Coding Standard
3 Recommendations
Rec. 03. Expressions (EXP)
EXP12-C. Do not ignore values returned by functions
Page Information
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)
Labels
Global Labels (10)
compass/rose
splint
coverity
cwe-754
android-applicable
exceptions
rose-complete
recommendation
exp
klocwork
Recent Changes
Time
Editor
Jun 22, 2023 08:43
David Svoboda
View Changes
Jun 22, 2023 08:42
David Svoboda
View Changes
Jun 21, 2023 16:59
Jill Britton
View Changes
code examples
Apr 20, 2023 06:03
Jill Britton
View Changes
Feb 06, 2023 13:16
David Svoboda
View Page History
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
Overview
Content Tools
{"serverDuration": 149, "requestCorrelationId": "59ae64a334075687"}