C language mechanism for error handling and deferred cleanup - INRIA - Institut National de Recherche en Informatique et en Automatique Accéder directement au contenu
Communication Dans Un Congrès Année : 2021

C language mechanism for error handling and deferred cleanup

Robert C Seacord
  • Fonction : Auteur
  • PersonId : 1085585

Résumé

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
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

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

Identifiants

Citer

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⟩
236 Consultations
1545 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More