Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
die(3)			   Library Functions Manual			die(3)

NAME
       die - print warning diagnostic and abort	program

SYNTAX
       #include	<libowfat/errmsg.h>

       void die(int exitcode, const char *message, ...);

DESCRIPTION
       If  errmsg_iam was called to set	the program name, die will first print
       that program name and a colon.

       die will	print all its arguments	 to  stderr  (fd  #2)  and  then  call
       exit(exitcode).

       It does not synchronize with any	other output method.

       Flush buffer_1 and buffer_2 manually first if needed.

NOTE
       This function does not return.

SEE ALSO
       errmsg(7), buffer_flush(3)

									die(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_die&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help