this post was submitted on 07 Oct 2025
31 points (94.3% liked)

Linux

9682 readers
254 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] eleijeep@piefed.social 2 points 1 day ago

goto is the standard way of performing error handling in C, since there is no exception system or destructor mechanism to free resources when they are going out of scope.