carta
ewrite(3)

ewrite3

Exit-on-failure wrapper functions

Usage

void *

void *

ssize_t

void *

void

char *

ssize_t

Library

The roken library (libroken, -lroken)

Overview

These functions do the same as the ones without the “e” prefix, but if there is an error they will print a message with errx(3), and exit. For eread and ewrite this is also true for partial data.

This is useful in applications when there is no need for a more advanced failure mode.

History

  • Debian 13 (Trixie) to Debian 7 (Wheezy): the text shown here
  • Debian 6.0 (Squeeze)
  • Debian 5.0 (Lenny)

From heimdal-dev 7.8.git20221117.28daf24+dfsg-9+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.