From owner-freebsd-hackers@FreeBSD.ORG Wed May 24 07:41:34 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45D6A16A48B for ; Wed, 24 May 2006 07:41:34 +0000 (UTC) (envelope-from kazakov@gmail.com) Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id E24F443D55 for ; Wed, 24 May 2006 07:41:28 +0000 (GMT) (envelope-from kazakov@gmail.com) Received: by wx-out-0102.google.com with SMTP id i31so1207368wxd for ; Wed, 24 May 2006 00:41:27 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WKMHKXrEhUGGU52xH6YQsCp200UHPHYi9vh+ZFbb05vxaZRYrwJtbRqLlTBdGAcaqzstuRCJngeU0Wrhzgsd7kszaltEBhrE/hmhXx3/Y6eaJTisCscs2fk97LF4Y2iYLTjCZucpZXJvJuk0AzekRIz4bqxI5QmZvFOXDnYwgMM= Received: by 10.70.31.19 with SMTP id e19mr7399440wxe; Wed, 24 May 2006 00:41:27 -0700 (PDT) Received: by 10.70.126.17 with HTTP; Wed, 24 May 2006 00:41:27 -0700 (PDT) Message-ID: Date: Wed, 24 May 2006 16:41:27 +0900 From: "Artem Kazakov" To: "Julian Elischer" In-Reply-To: <44740A9F.9080202@elischer.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1148448723.1639.102.camel@tyoma.linac.kek.jp> <44740A9F.9080202@elischer.org> Cc: FreeBSD Hackers Subject: Re: process descriptor table X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 May 2006 07:41:34 -0000 > what is a process descriptor table? > process FILE descriptor table? > process table? process file descriptor table I suppose. The problem is that at some point a socket() function is called. And it returns descriptor =3D 1, which is a standart ouput. So when write() is done, everything goes to terminal,instead of socket. I want to see descriptor table, to see why this can happen.