abc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
utilSignal.h File Reference

Go to the source code of this file.

Functions

ABC_NAMESPACE_HEADER_START int Util_SignalTmpFile (const char *prefix, const char *suffix, char **out_name)
 INCLUDES ///. More...
 
void Util_SignalTmpFileRemove (const char *fname, int fLeave)
 
int Util_SignalSystem (const char *cmd)
 DECLARATIONS ///. More...
 

Function Documentation

int Util_SignalSystem ( const char *  cmd)

DECLARATIONS ///.

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

FileName [utilSignal.c]

SystemName [ABC: Logic synthesis and verification system.]

PackageName []

Synopsis []

Author [Baruch Sterin]

Affiliation [UC Berkeley]

Date [Ver. 1.0. Started - February 1, 2011.]

Revision [

Id:
utilSignal.c,v 1.00 2011/02/01 00:00:00 alanmi Exp

]FUNCTION DEFINITIONS ///

Definition at line 46 of file utilSignal.c.

47 {
48  return system(cmd);
49 }
int system()
ABC_NAMESPACE_HEADER_START int Util_SignalTmpFile ( const char *  prefix,
const char *  suffix,
char **  out_name 
)

INCLUDES ///.

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

FileName [utilSignal.h]

SystemName [ABC: Logic synthesis and verification system.]

PackageName [Signal handling utilities.]

Synopsis [Signal handling utilities.]

Author [Baruch Sterin]

Affiliation [UC Berkeley]

Date [Ver. 1.0. Started - February 1, 2011.]

Revision [

Id:
utilSignal.h,v 1.00 2011/02/01 00:00:00 alanmi Exp

]PARAMETERS ///BASIC TYPES ///MACRO DEFINITIONS ///FUNCTION DECLARATIONS ///

Definition at line 53 of file utilSignal.c.

54 {
55  return tmpFile(prefix, suffix, out_name);
56 }
int tmpFile(const char *prefix, const char *suffix, char **out_name)
Definition: utilFile.c:89
void Util_SignalTmpFileRemove ( const char *  fname,
int  fLeave 
)

Definition at line 58 of file utilSignal.c.

59 {
60  if (! fLeave)
61  {
62  unlink(fname);
63  }
64 }