From owner-freebsd-questions@FreeBSD.ORG Wed Nov 30 15:23:04 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 D5C5E16A41F for ; Wed, 30 Nov 2005 15:23:04 +0000 (GMT) (envelope-from javierlu@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id F412043D5D for ; Wed, 30 Nov 2005 15:23:03 +0000 (GMT) (envelope-from javierlu@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so18506wxc for ; Wed, 30 Nov 2005 07:23:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:from:to:subject:date:mime-version:content-type:x-priority:x-msmail-priority:x-mailer:x-mimeole; b=XFvLFtPX/j1QZSMkYGSpPecqTJtqflA178gA5m0iJbOiGRBSoLdcsZ4E2zo9VEcUZsezqpZdNNAx5FlpSKNNk8O9h81IHPh8GvyBoSTZYoydqU25jn0KReiAXoPMrg4YEUR8WBiXV5O5NhcXmLwZAGQgqsnFCq3g0pCVw4ckspU= Received: by 10.70.23.5 with SMTP id 5mr317806wxw; Wed, 30 Nov 2005 07:23:03 -0800 (PST) Received: from mindcrash ( [83.35.97.185]) by mx.gmail.com with ESMTP id h10sm9541wxd.2005.11.30.07.23.02; Wed, 30 Nov 2005 07:23:03 -0800 (PST) Message-ID: <001601c5f5c2$a77a0720$0301a8c0@mindcrash> From: "Javier Matos" To: Date: Wed, 30 Nov 2005 16:28:00 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: is child PID always minor to parent PID? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Nov 2005 15:23:04 -0000 Hi, I need to know if the PID of a child process is always higher to = parent PID because I made an algorithm to search a child and I want to = know if I can start searching for a process that have a higher number = than parent PID. Thanks