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 (1)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT C Coding Standard
2 Rules
Rule 12. Error Handling (ERR)
ERR30-C. Take care when reading errno
Page Information
Title:
ERR30-C. Take care when reading errno
Author:
Robert Seacord
Oct 03, 2007
Last Changed by:
Jill Britton
Apr 20, 2023
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/39YxBQ
Export As:
Word
·
PDF
Incoming Links
SEI CERT C Coding Standard (3)
Page:
DCL09-C. Declare functions that return errno with a return type of errno_t
Page:
MEM12-C. Consider using a goto chain when leaving a function on error when using and releasing resources
Page:
CON33-C. Avoid race conditions when using library functions
Hierarchy
Parent Page
Page:
Rule 12. Error Handling (ERR)
Labels
Global Labels (8)
sample
rose-possible
android-applicable
cwe-456
ptc
rule
err
in-cpp
Recent Changes
Time
Editor
Apr 20, 2023 05:31
Jill Britton
View Changes
Jun 26, 2022 15:04
David Svoboda
View Changes
Jun 26, 2022 14:58
David Svoboda
View Changes
Jun 26, 2022 14:55
David Svoboda
View Changes
Jun 26, 2022 14:54
David Svoboda
View Page History
Outgoing Links
External Links (12)
www.brainbell.com/tutors/c/Advice_and_Warnings_for_C/Macros…
https://www.kb.cert.org/vulnotes/bymetric?searchview&query=…
https://www.mathworks.com/help/bugfinder/ref/certcruleerr30…
https://wiki.sei.cmu.edu/confluence/display/c/How+this+Codi…
https://wiki.sei.cmu.edu/confluence/display/c/AA.+Bibliogra…
https://wiki.sei.cmu.edu/confluence/display/c/EXP12-C.+Do+n…
https://wiki.sei.cmu.edu/confluence/display/c/Polyspace+Bug…
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?p…
https://cwe.mitre.org/data/index.html
cwe.mitre.org/data/definitions/456.html
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 (21)
Page:
Astrée
Page:
LDRA_V
Page:
Klocwork
Page:
BB. Definitions
Page:
CodeSonar_V
Page:
Parasoft
Page:
Helix QAC
Page:
CodeSonar
Home page:
SEI CERT C Coding Standard
Page:
Polyspace Bug Finder_V
Page:
Axivion Bauhaus Suite_V
Page:
AA. Bibliography
Page:
LDRA
Page:
Parasoft_V
Page:
Axivion Bauhaus Suite
Page:
Rose
Page:
Astrée_V
Page:
Coverity
Page:
Coverity_V
Page:
Helix QAC_V
Page:
Klocwork_V
Overview
Content Tools
{"serverDuration": 81, "requestCorrelationId": "387e8afd3417d5e0"}