File: exit.h

package info (click to toggle)
snap-aligner 1.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,988 kB
  • sloc: cpp: 36,500; ansic: 5,239; python: 227; makefile: 85; sh: 28
file content (30 lines) | stat: -rw-r--r-- 369 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*++

Module Name:

    exit.h

Abstract:

    Header for SNAP soft exit function

Authors:

    Bill Bolosky, February, 2013

Environment:

    User mode service.

Revision History:


--*/

#pragma once

#define soft_exit(n) soft_exit_function(n, __FILE__, __LINE__)

void soft_exit_no_print(int n);

void soft_exit_function(int n, const char *fileName, int lineNum);