-
-
Notifications
You must be signed in to change notification settings - Fork 978
Expand file tree
/
Copy pathCommandSignal.cs
More file actions
74 lines (62 loc) · 1.51 KB
/
CommandSignal.cs
File metadata and controls
74 lines (62 loc) · 1.51 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
namespace Renci.SshNet
{
/// <summary>
/// The ssh compatible POSIX/ANSI signals with their libc compatible values.
/// </summary>
#pragma warning disable CA1720 // Identifier contains type name
public enum CommandSignal
{
/// <summary>
/// Hangup (POSIX).
/// </summary>
HUP = 1,
/// <summary>
/// Interrupt (ANSI).
/// </summary>
INT = 2,
/// <summary>
/// Quit (POSIX).
/// </summary>
QUIT = 3,
/// <summary>
/// Illegal instruction (ANSI).
/// </summary>
ILL = 4,
/// <summary>
/// Abort (ANSI).
/// </summary>
ABRT = 6,
/// <summary>
/// Floating-point exception (ANSI).
/// </summary>
FPE = 8,
/// <summary>
/// Kill, unblockable (POSIX).
/// </summary>
KILL = 9,
/// <summary>
/// User-defined signal 1 (POSIX).
/// </summary>
USR1 = 10,
/// <summary>
/// Segmentation violation (ANSI).
/// </summary>
SEGV = 11,
/// <summary>
/// User-defined signal 2 (POSIX).
/// </summary>
USR2 = 12,
/// <summary>
/// Broken pipe (POSIX).
/// </summary>
PIPE = 13,
/// <summary>
/// Alarm clock (POSIX).
/// </summary>
ALRM = 14,
/// <summary>
/// Termination (ANSI).
/// </summary>
TERM = 15,
}
}