"Fossies" - the Fresh Open Source Software Archive

Member "procmeter3-3.6+svn387/no-x/run.c" (24 Dec 2010, 980 Bytes) of package /linux/misc/procmeter3-3.6+svn387.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "run.c" see the Fossies "Dox" file reference documentation.

    1 /***************************************
    2   $Header: /home/amb/CVS/procmeter3/no-x/run.c,v 1.1 2002-06-04 12:48:58 amb Exp $
    3 
    4   ProcMeter - A system monitoring program for Linux - Version 3.3b.
    5 
    6   Run external programs.
    7   ******************/ /******************
    8   Written by Andrew M. Bishop
    9 
   10   This file Copyright 1999,2000,02 Andrew M. Bishop
   11   It may be distributed under the GNU Public License, version 2, or
   12   any higher version.  See section COPYING of the GNU Public license
   13   for conditions under which this file may be redistributed.
   14   ***************************************/
   15 
   16 
   17 #include "procmeterp.h"
   18 
   19 
   20 /*++++++++++++++++++++++++++++++++++++++
   21   Parse the command from the config file to be run.
   22 
   23   char *string The string to be parsed.
   24 
   25   RunOption *run Contains the parsed result.
   26   ++++++++++++++++++++++++++++++++++++++*/
   27 
   28 void ParseRunCommand(char *string,RunOption *run)
   29 {
   30 
   31  /* Do nothing since we have no X windows. */
   32 
   33  run->flag=RUN_NONE;
   34  run->command=NULL;
   35 }