home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / program / grfx_snd / tifflib / source / tif_erro.c < prev    next >
C/C++ Source or Header  |  1992-11-08  |  874b  |  34 lines

  1. #pragma warn -use
  2. static char     *sccsid = "@(#)TIFF/tif_error.c 1.08, Copyright (c) Sam Leffler, Dieter Linde, "__DATE__;
  3. #pragma warn .use
  4. /*
  5.  * Copyright (c) 1988, 1990 by Sam Leffler, Oct 8 1990
  6.  * All rights reserved.
  7.  *
  8.  * This file is provided for unrestricted use provided that this legend is included on all tape media and as a part of the
  9.  * software program in whole or part.  Users may copy, modify or distribute this file at will.
  10.  *
  11.  * TIFF Library.
  12.  */
  13. #include "tiffio.h"
  14.  
  15. /****************************************************************************
  16.  *
  17.  */
  18. void
  19. TIFFError(
  20.     char     *module,
  21.     char     *fmt,
  22.     ...
  23.     )
  24. {
  25.         va_list ap;
  26.  
  27.         if (module != NULL)
  28.                 fprintf(stderr, "%s: ", module);
  29.         va_start(ap, fmt);
  30.         vfprintf(stderr, fmt, ap);
  31.         va_end(ap);
  32.         fprintf(stderr, ".\n");
  33. }
  34.