[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

why goto ?



i was going through the kernel modules and saw lots of goto (in fact
this is the only place i have seen goto in any c code) And Alessandro
Rubini (Linux Device Driver) also recommends using goto for error
handling in kernel modules. Is there any specific advantage of using it
?
thanks
anurag