Back
Asciify Logo
Asciify
ETBEM

Cancel

CAN (Cancel) is ASCII code point 24 (0x18), Unicode U+0018. It is a C0 control character that signaled a teleprinter to discard the current line or transmission in progress. In ANSI/VT terminals, Ctrl+X emits 0x18 and aborts an in-progress escape sequence, returning the parser to ground state — useful when a corrupted byte stream leaves the terminal mid-sequence. XMODEM uses CAN as an explicit transfer-abort signal: sending two consecutive 0x18 bytes tells the remote side to abandon the file transfer entirely. UTF-8 encodes it as the single byte 0x18; Unicode classifies it as Cc (Control) with the alias CANCEL.

Symbol

Technical Details

Code Example

</>
unsigned char CAN = 0x18;
unsigned char buf[] = { 'A','B', CAN,'C' };
// Cancel triggers a parser reset in many state machines
if (memchr(buf, CAN, sizeof buf)) parser_reset();

Frequently Asked Questions

  • CAN (ASCII 24) tells the receiver to discard the current data transmission. Think of it as the 'never mind' signal — the sender is saying the data it just sent is garbage and should be thrown away.

  • No, they're different. CAN (Ctrl+X in some systems) is ASCII 24 and signals data cancellation in protocols. Ctrl+C generates ASCII 3 (ETX) and is used by Unix terminals to send SIGINT, which interrupts a running process.

  • Mostly in legacy serial protocols and embedded systems where devices exchange raw byte streams. If a transmission error is detected mid-stream, CAN tells the other end to drop the partial data and wait for a fresh start.

  • Very rarely as the actual byte. The concept lives on in protocol design though — HTTP request cancellation, gRPC stream resets, and WebSocket close frames all serve the same purpose with more sophisticated mechanisms.

@workani&@alexluthor
Privacy & legal

Privacy

No accounts, no ads, no tracking cookies, and no cross-site tracking. The only analytics we keep are faceless — anonymous, aggregated counts of pages and searches, never tied to you. We store no IP addresses, set no tracking cookies, and build no profiles. Cloudflare hosts the site and handles requests for delivery and security.

Full privacy policy·Extension privacy·legal@asciify.dev

Attributions & licenses

Twemoji
© Twitter, Inc and other contributors · CC-BY 4.0
Noto Color Emoji
© Google · Apache 2.0
Fluent UI Emoji
© Microsoft · MIT
OpenMoji
© HfG Schwäbisch Gmünd · CC-BY-SA 4.0
Toss Face
© Viva Republica (Toss) · SIL OFL 1.1
JoyPixels
© JoyPixels Inc. · Free Limited Use License
SerenityOS Emoji
© The SerenityOS Developers · BSD-2-Clause
EmojiTwo
© EmojiTwo contributors · CC-BY 4.0
Apple Color Emoji
© Apple, Inc.
Facebook Emoji
© Meta Platforms, Inc.

Apple and Facebook emoji styles are proprietary and shown here solely for reference and comparison — a common-sense application of nominative-use / fair-use principles. asciify is not affiliated with, endorsed by, or sponsored by Apple, Inc., Meta Platforms, Inc., or any other rights holder listed above. If a rights holder requests removal of their emoji style from this site, it will be removed.

All other vendor emoji are reproduced for reference and comparison under their respective open licenses listed above.

Character names and code points from the Unicode® Standard. Unicode® and the Unicode Logo are registered trademarks of Unicode, Inc.

Privacy
© asciify.dev 2025-2026