Date: Tue, 11 Jan 2000 03:23:36 +0100 (CET) From: Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de> To: freebsd-questions@FreeBSD.ORG Subject: Re: Giving a sighandler more information Message-ID: <200001110223.DAA70411@dorifer.heim3.tu-clausthal.de> In-Reply-To: <85e18k$1dhm$1@atlantis.rz.tu-clausthal.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Laurence Berland <stuyman@confusion.net> wrote in list.freebsd-questions: > I'm writing an ftp daemon, and it needs to speak the telnet protocol. > That means I need to handle SIGURG for synchs and such. I'm wondering > what the best way is to get further information to the handle. Is there > a way other than global variables (which would make my code look messier > than it already is)? I'm afraid there is no other way than using global variables. Be sure to declare them as ``volatile sig_atomic_t''. > recommendation for a network programming book? I've heard good things > about the Stevens book ( > http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=013490012X > ... Yes, Stevens book is a good recommendation. Regards Oliver -- Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany (Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de) "In jedem Stück Kohle wartet ein Diamant auf seine Geburt" (Terry Pratchett) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001110223.DAA70411>