Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
619 B

  1. .TH die 3
  2. .SH NAME
  3. die \- print warning diagnostic and abort program
  5. .B #include <libowfat/errmsg.h>
  6. void \fBdie\fP(int \fIexitcode\fP, const char *\fImessage\fR, ...);
  8. If \fIerrmsg_iam\fP was called to set the program name, \fIdie\fP will
  9. first print that program name and a colon.
  10. \fIdie\fP will print all its arguments to stderr (fd #2) and then call
  11. \fIexit\fP(\fIexitcode\fP).
  12. It does not synchronize with any other output method.
  13. Flush \fIbuffer_1\fP and \fIbuffer_2\fP manually first if needed.
  14. .SH NOTE
  15. This function does not return.
  16. .SH "SEE ALSO"
  17. errmsg(7), buffer_flush(3)