src/base/cmd/cmdHist.c File Reference

#include "mainInt.h"
#include "cmd.h"
#include "cmdInt.h"
Include dependency graph for cmdHist.c:

Go to the source code of this file.

Functions

void Cmd_HistoryAddCommand (Abc_Frame_t *p, char *command)

Function Documentation

void Cmd_HistoryAddCommand ( Abc_Frame_t p,
char *  command 
)

CFile****************************************************************

FileName [cmdHist.c]

SystemName [ABC: Logic synthesis and verification system.]

PackageName [Command processing package.]

Synopsis [Procedures working with history.]

Author [Alan Mishchenko]

Affiliation [UC Berkeley]

Date [Ver. 1.0. Started - June 20, 2005.]

Revision [

Id
cmdHist.c,v 1.00 2005/06/20 00:00:00 alanmi Exp

] DECLARATIONS /// FUNCTION DEFINITIONS ///Function*************************************************************

Synopsis []

Description []

SideEffects []

SeeAlso []

Definition at line 44 of file cmdHist.c.

00045 {
00046     static char Buffer[MAX_STR];
00047     strcpy( Buffer, command );
00048     if ( command[strlen(command)-1] != '\n' )
00049         strcat( Buffer, "\n" );
00050     Vec_PtrPush( p->aHistory, Extra_UtilStrsav(Buffer) );
00051 }


Generated on Tue Jan 5 12:18:43 2010 for abc70930 by  doxygen 1.6.1