1: /* Copyright (c) 1979 Regents of the University of California */
   2: 
   3: static char sccsid[] = "@(#)MAX.c 1.4 6/10/81";
   4: 
   5: #include "h00vars.h"
   6: 
   7: long
   8: MAX(width, reduce, min)
   9: 
  10:     register long   width;      /* requested width */
  11:     long        reduce;     /* amount of extra space required */
  12:     long        min;        /* minimum amount of space needed */
  13: {
  14:     if (width <= 0) {
  15:         ERROR("Non-positive format width: %D\n", width);
  16:         return;
  17:     }
  18:     if ((width -= reduce) >= min)
  19:         return width;
  20:     return min;
  21: }
Last modified: 1983-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 764
Valid CSS Valid XHTML 1.0 Strict