SIGPIPE Signal Explained (Signal 13)

What the Linux SIGPIPE signal does and when it's used.

Published October 24, 2026

SIGPIPE (signal number 13) sent when a process tries to write to a pipe or socket that has no reader on the other end.

Key points

  • Common when writing to a closed network connection — many programs handle this explicitly rather than let it terminate the process
More Linux articles