From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11091 invoked by alias); 4 Nov 2004 07:31:03 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 10887 invoked from network); 4 Nov 2004 07:31:02 -0000 Received: from unknown (HELO hotmail.com) (65.54.247.15) by sourceware.org with SMTP; 4 Nov 2004 07:31:02 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 3 Nov 2004 23:31:01 -0800 Received: from 61.11.24.174 by by2fd.bay2.hotmail.msn.com with HTTP; Thu, 04 Nov 2004 07:30:27 GMT X-Originating-IP: [61.11.24.174] X-Originating-Email: [laalit_seth@hotmail.com] X-Sender: laalit_seth@hotmail.com From: "Lalit Seth" To: gcc-help@gcc.gnu.org Bcc: Subject: How o acheive this in C++ Date: Thu, 04 Nov 2004 07:31:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 04 Nov 2004 07:31:01.0562 (UTC) FILETIME=[3C1FA9A0:01C4C240] X-SW-Source: 2004-11/txt/msg00012.txt.bz2 Hi, 1) how do i get the PID from a process of which i know the name only 2) how can i send a signal to a process of which I have the PID I wanted this information from C++ Code not from shell. Many Thanks _________________________________________________________________ Millions of active and validated profiles. http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Find your match on BharatMatrimony.com