pcb 4.1.1
An interactive printed circuit board layout editor.

error.h File Reference

Prototypes for error and debug functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define STATUS_OK   0
#define STATUS_BREAK   1
#define STATUS_ERROR   -1

Functions

void Message (const char *Format,...)
 Output of message in a dialog window or log window.
void MyFatal (char *Format,...)
 Output of fatal error message.
void OpenErrorMessage (char *)
 Print standard 'open error'.
void PopenErrorMessage (char *)
 Print standard 'popen error'.
void OpendirErrorMessage (char *)
 Print standard 'opendir'.
void ChdirErrorMessage (char *)
 Print standard 'chdir error'.
void CatchSignal (int)
 Catches signals which abort the program.

Detailed Description

Prototypes for error and debug functions.


Copyright.


PCB, interactive printed circuit board design

Copyright (C) 1994,1995,1996 Thomas Nau

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

Contact addresses for paper mail and Email: Thomas Nau, Schlehenweg 15, 88471 Baustetten, Germany Thomas.Nau@rz.uni-ulm.de

Definition in file error.h.


Define Documentation

#define STATUS_BREAK   1

Definition at line 38 of file error.h.

#define STATUS_ERROR   -1

Definition at line 39 of file error.h.

Referenced by WritePCBFile(), and WritePipe().

#define STATUS_OK   0

Definition at line 37 of file error.h.

Referenced by WriteBuffer(), and WritePCB().


Function Documentation

void CatchSignal ( int  )

Catches signals which abort the program.

Definition at line 203 of file error.c.

References MyFatal(), and s.

Here is the call graph for this function:

void ChdirErrorMessage ( char *  )

Print standard 'chdir error'.

Definition at line 164 of file error.c.

References _, Message(), sys_errlist, sys_nerr, and utf8_dup_string.

Referenced by LoadNewlibFootprintsFromDir(), and ParseLibraryTree().

Here is the call graph for this function:

void Message ( const char *  Format,
  ... 
)

Output of message in a dialog window or log window.

Definition at line 91 of file error.c.

void MyFatal ( char *  Format,
  ... 
)

Output of fatal error message.

Definition at line 184 of file error.c.

References args, EmergencySave(), and Progname.

Referenced by CatchSignal().

Here is the call graph for this function:

void OpendirErrorMessage ( char *  )

Print standard 'opendir'.

Definition at line 144 of file error.c.

References _, Message(), sys_errlist, sys_nerr, and utf8_dup_string.

Referenced by LoadNewlibFootprintsFromDir().

Here is the call graph for this function:

void OpenErrorMessage ( char *  )

Print standard 'open error'.

Definition at line 104 of file error.c.

References _, Message(), sys_errlist, sys_nerr, and utf8_dup_string.

Referenced by CheckAndOpenFile(), and WritePCBFile().

Here is the call graph for this function:

void PopenErrorMessage ( char *  )

Print standard 'popen error'.

Definition at line 124 of file error.c.

References _, Message(), sys_errlist, sys_nerr, and utf8_dup_string.

Referenced by ExpandFilename(), Parse(), ReadLibraryContents(), ReadNetlist(), and WritePipe().

Here is the call graph for this function: