File: exit.cc

package info (click to toggle)
stealth 1.47.4-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 780 kB
  • ctags: 190
  • sloc: cpp: 1,710; makefile: 155; sh: 62
file content (13 lines) | stat: -rw-r--r-- 210 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "util.ih"

void Util::exit(char const *fmt, ...)
{
    va_list list;
    va_start(list, fmt);

    vfprintf(stderr, fmt, list);
    cerr << endl;
    va_end(list);

    throw ERROR;    // ::exit(1);
}