ruffsl@programming.dev to Linux@programming.devEnglish · 4 days agoEvery goto in the Linux kernel / Just another day on the linux-kernel mailing listyoutube.comexternal-linkmessage-square3linkfedilinkarrow-up134arrow-down12
arrow-up132arrow-down1external-linkEvery goto in the Linux kernel / Just another day on the linux-kernel mailing listyoutube.comruffsl@programming.dev to Linux@programming.devEnglish · 4 days agomessage-square3linkfedilink
minus-squareeleijeep@piefed.sociallinkfedilinkEnglisharrow-up2·3 days agogoto 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.
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.