C language mechanism for error handling and deferred cleanup - Archive ouverte HAL Access content directly
Conference Papers Year :

C language mechanism for error handling and deferred cleanup

(1) , (2)
1
2
Robert C Seacord
  • Function : Author
  • PersonId : 1085585

Abstract

This paper introduces the implementation of a C language mechanism for error handling and deferred cleanup adapted from similar features in the Go programming language.This mechanism improves the proximity, visibility, maintainability, robustness, and security of cleanup and error handling over existing language features.This feature is under consideration for inclusion in the C Standard.The library implementation of the features described by this paper is publiclyavailable under an Open Source License at https://gustedt.gitlabpages.inria.fr/defer/.
Fichier principal
Vignette du fichier
defer-implementation.pdf (397.76 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-03059076 , version 1 (12-12-2020)

Identifiers

Cite

Jens Gustedt, Robert C Seacord. C language mechanism for error handling and deferred cleanup. SAC 2021 - 36th ACM/SIGAPP Symposium on Applied Computing, Mar 2021, Virtual, South Korea. ⟨10.1145/3412841.3442116⟩. ⟨hal-03059076⟩
222 View
1438 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More