i would probably write it as:
if ((pid = fork()) != 0)
but:
if (pid = fork())
is perfectly kosher C
has been for 20 years
methinks you've made a mistake
-- Simon Kenyonirial limited mailto:simon@irial.com 10 Castle Avenue tel:+353-1-8530624 Clontarf gsm:+353-87-2805470 Dublin 3 http://www.irial.com/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/