28 ms·
Goto is actually relatively common in C code. As in this case, it's usually used for error handling in much the same manner as exceptions might be. The document
by yew 15y ago
Goto is actually relatively common in C code. As in this case, it's usually used for error handling in much the same manner as exceptions might be. The document "/usr/src/linux/Documentation/CodingStyle" actually recommends such usage.