Date: Mon, 8 Jul 2002 21:36:17 +0000 From: Charlie & <root@xp.minerva.nl> To: doc@FreeBSD.org Subject: Syntax error in listing Message-ID: <200207082136.17951.root@xp.minerva.nl>
next in thread | raw e-mail | index | archive | help
Thanks for excellent documentation,
perhaps i made an error but compiling daytime.
In Chapter 7
switch (fork()) {
case -1:
perror("fork");
return 3;
break;
default: <--------------------------------------
close s;
return 0;
break;
case 0:
break;
}
didn't work. I Think the problem was in the line default. Replacing this to
the end of switch solved my problem in cc-ing.
Greetings.
R.vandruten
r.vandruten@usc.kun.nl
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207082136.17951.root>
