# Break key handling

When logged into D3, the default action for the BREAK key
is set to push a level or drop into the debugger as is standard in
D3. This behavior may be changed however by using these calls:

| Call | Description |
| --- | --- |
| _CP_unix_break() | Causes the BREAK key to force a logoff from D3 and terminate the C program with an exit() call. This simulates the standard behavior of the BREAK key in a UNIX application. |
| _CP_pick_break() | Causes the BREAK key to behave in the D3 manner. |

---
Source: https://d3codex.com/cfunctions/break-key-handling/ - part of the D3Codex reference.
