From owner-freebsd-questions@FreeBSD.ORG Sun Jan 2 18:11:43 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E189D16A4CE for ; Sun, 2 Jan 2005 18:11:43 +0000 (GMT) Received: from mx1.mail.ru (mx1.mail.ru [194.67.23.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9F4A143D3F for ; Sun, 2 Jan 2005 18:11:43 +0000 (GMT) (envelope-from infofarmer@mail.ru) Received: from [83.237.208.152] (port=3233 helo=[172.17.0.69]) by mx1.mail.ru with esmtp id 1ClACc-000Mtg-00 for questions@freebsd.org; Sun, 02 Jan 2005 21:11:42 +0300 Message-ID: <41D8395E.4020803@mail.ru> Date: Sun, 02 Jan 2005 21:11:42 +0300 From: "Andrew P." User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected Subject: basic freebsd programming X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: infofarmer@mail.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Jan 2005 18:11:44 -0000 Hello and Happy New Year! I need to write some very basic C programs under FreeBSD. I am new to Unix programming and not very good at C programming either, so I'm looking for documentation on some topics. The ones that are the most interesting for me now is how to write small daemons best and how to read ipfw info from a program. Man pages help me very much, but I really need some guide. The problem is that doc project doesn't seem to have released anything like it. I looked through dev-, arch-, porters- handbooks, read design-44bsd - but I didn't find what I want. Of course I can refresh my C skills and gain some Unix-coding knowledge by reading a couple' thousand pages, but I don't feel like it's necessary for what I want to write - just a basic statistics collector. Should I explore FreeBSD source code or is there some solid piece of documentation? Best wishes, Andrew P.