From owner-freebsd-questions@FreeBSD.ORG Mon Jan 3 01:27:15 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 3170D16A4CE for ; Mon, 3 Jan 2005 01:27:15 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id C3CCE43D39 for ; Mon, 3 Jan 2005 01:27:14 +0000 (GMT) (envelope-from j65nko@gmail.com) Received: by wproxy.gmail.com with SMTP id 50so9923wri for ; Sun, 02 Jan 2005 17:27:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=ZCPIdzYotvsFjmvCUiOhKRUJ+K6uTRQEcFc/9WSdNCFbu7t+SXg5DLOx/Nwk7j5SJJqshI7VWivvvSsuGth6TfVOIix2BXrrK+jyFtVZKAyp2vg2pH1NzUBiLgSyTR8qV3od3mBE9nV87SRRboeFdyNPxM4Rg+jw7jv2/k7KUec= Received: by 10.54.22.25 with SMTP id 25mr901967wrv; Sun, 02 Jan 2005 17:27:14 -0800 (PST) Received: by 10.54.37.19 with HTTP; Sun, 2 Jan 2005 17:27:13 -0800 (PST) Message-ID: <19861fba0501021727839c945@mail.gmail.com> Date: Mon, 3 Jan 2005 02:27:13 +0100 From: J65nko BSD To: infofarmer@mail.ru In-Reply-To: <41D8395E.4020803@mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41D8395E.4020803@mail.ru> cc: questions@freebsd.org Subject: Re: basic freebsd programming X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: J65nko BSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2005 01:27:15 -0000 On Sun, 02 Jan 2005 21:11:42 +0300, Andrew P. wrote: > 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. This could be useful: http://www.khmere.com/freebsd_book/index.html Table of Contents: * I. Introduction * Chapter 1: FreeBSD's Make * Chapter 2: Bootstrapping BSD * Chapter 3: Processes and Kernel Services * Chapter 4: Advanced Process Controls and Signals * Chapter 5: Basic I/O * Chapter 6: Advanced I/O * Chapter 7: Processes Resources and System Limits * Chapter 8: FreeBSD 5.x * All source code * Entire book in a tarball ==Adriaan==