pcb 4.1.1
An interactive printed circuit board layout editor.
|
Prototypes for error and debug functions. More...
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. |
Prototypes for error and debug functions.
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 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().
void CatchSignal | ( | int | ) |
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().
void Message | ( | const char * | Format, |
... | |||
) |
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().
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().
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().
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().