


     EEEERRRRRRRROOOORRRR((((3333))))		     XXXXEEEENNNNIIIIXXXX 3333....0000 ((((llllooooccccaaaallll))))		      EEEERRRRRRRROOOORRRR((((3333))))



     NNNNAAAAMMMMEEEE
	  error, warning - print error messages

     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
	  eeeerrrrrrrroooorrrr((((ssss1111,,,, ssss2222))))
	  cccchhhhaaaarrrr ****ssss1111;;;;
	  cccchhhhaaaarrrr ****ssss2222;;;;

	  wwwwaaaarrrrnnnniiiinnnngggg((((ssss1111,,,, ssss2222))))
	  cccchhhhaaaarrrr ****ssss1111;;;;
	  cccchhhhaaaarrrr ****ssss2222;;;;

	  eeeexxxxtttteeeerrrrnnnn cccchhhhaaaarrrr ****pppprrrrooooggggnnnnaaaammmmeeee;;;;
	  eeeexxxxtttteeeerrrrnnnn iiiinnnntttt eeeerrrrrrrrnnnnoooo;;;;

	  pppprrrrooooggggnnnnaaaammmmeeee ==== aaaarrrrggggvvvv[[[[0000]]]];;;;

     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
	  _W_a_r_n_i_n_g prints an error message, with	suitable
	  embellishments, and clears _e_r_r_n_o.  _E_r_r_o_r does	likewise and
	  then exits.  The _s_1 argument should be a _p_r_i_n_t_f format
	  string (without a trailing newline), with _s_2 available as an
	  argument.

	  If there is an environment variable CCCCMMMMDDDDNNNNAAAAMMMMEEEE with non-null
	  value, its contents are printed first, followed by a colon.
	  Following this, any non-null value of	_p_r_o_g_n_a_m_e is printed,
	  followed by a	colon and a space.  Following this, _f_p_r_i_n_t_f(3)
	  is invoked with _s_1 as	the format string and _s_2 as the
	  argument.  If	the value of _e_r_r_n_o is within the normal	range,
	  a standard elaborating message is printed (see _i_n_t_r_o(2)).

	  CCCCMMMMDDDDNNNNAAAAMMMMEEEE should be set	by shellfiles that expect subordinate
	  programs to issue error message in the shellfile's name.
	  _P_r_o_g_n_a_m_e should be set by all	programs; _a_r_g_v[_0] is usually a
	  suitable thing to set	it to.	_E_r_r_n_o is set by	system calls
	  and various other routines, although its use is not
	  universal; note that it is not reset by successful system
	  calls	following an unsuccessful one.

     SSSSEEEEEEEE AAAALLLLSSSSOOOO
	  intro(2), intro(3), printf(3), exit(2), getopt(3)

     DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
	  _E_r_r_o_r's exit status is 1.

     HHHHIIIISSSSTTTTOOOORRRRYYYY
	  Local	products, modelled on the _e_r_r_o_r	in Kernighan&Pike.

     BBBBUUUUGGGGSSSS
	  Be nice if they could	take a full _p_r_i_n_t_f-style argument
	  list.



     Page 1					      (printed 8/2/94)



