From owner-freebsd-hackers Wed Feb 26 09:48:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id JAA21614 for hackers-outgoing; Wed, 26 Feb 1997 09:48:52 -0800 (PST) Received: from mailhub.aros.net (mailhub.aros.net [207.173.16.17]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id JAA21602 for ; Wed, 26 Feb 1997 09:48:43 -0800 (PST) Received: from fluffy.aros.net (fluffy.aros.net [207.173.16.2]) by mailhub.aros.net (8.8.5/Unknown) with ESMTP id KAA14726; Wed, 26 Feb 1997 10:48:39 -0700 (MST) Received: from fluffy.aros.net (localhost [127.0.0.1]) by fluffy.aros.net (8.8.5/8.6.12) with ESMTP id KAA26747; Wed, 26 Feb 1997 10:48:36 -0700 (MST) Message-Id: <199702261748.KAA26747@fluffy.aros.net> To: "Matthew A. Gessner" cc: hackers Subject: Re: Writing a daemon... In-reply-to: Your message of "Tue, 25 Feb 1997 13:33:34 EST." <3313307E.41C67EA6@aristar.com> Date: Wed, 26 Feb 1997 10:48:36 -0700 From: Dave Andersen Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Hello, hackers, > > I'm looking for some really good information on writing a daemon for a) > FreeBSD and b) DEC ALPHA OSF/1. I've got Stevens' Couldn't help on the second, sorry. :) > some problems getting the code to compile properly under FreeBSD. I > just want to make sure that nothing's really 'changed' in the 'art' of > daemon writing since his book was published. The only thing that would be different are some header files. Stevens' books are nicely BSD-centric. > If anyone can add any tips or recommendations (specifically, if anyone > has a good source for OSF), please let me know. Yes - don't use the Network programming book as a daemon book. Get _Advanced_Programming_In_the_UNIX_Environment (W. Richard Stevens). It's got a nice little section on daemons and other critters. Or, for some real life examples, look in the source tree. :) -Dave