#include "mainInt.h"
#include "cmd.h"
#include "cmdInt.h"
Go to the source code of this file.
Functions | |
void | Cmd_HistoryAddCommand (Abc_Frame_t *p, char *command) |
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 [
] 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 }