From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wrazlov Subject: static or stuff like that Date: Sun, 28 Apr 2002 18:59:05 +0200 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <200204281856.43955.wrazlov@gmx.net> Reply-To: wrazlov@gmx.net Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org Hi there, I want to control whether a process is already running or not, and i don't know how without using some kind of lock-files, wasn't there something like static int x=0; or stuff like that to get how many processes are running?