Nettoyage et traitement d'erreur différés pour le langage C

Jens Gustedt, Robert C. Seacord · HAL (Le Centre pour la Communication Scientifique Directe) · 2020

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 publicly available under an Open Source License at https://gustedt.gitlabpages.inria.fr/defer/.

Read the paper · More papers on PaperTik