1 /* Copyright (c) 1979 Regents of the University of California */ 2 3 static char sccsid[] = "@(#)CHR.c 1.2 03/07/81"; 4 5 #include "h01errs.h" 6 7 char 8 CHR(value) 9 10 long value; 11 { 12 if (value < 0 || value > 127) { 13 ERROR(ECHR, value); 14 return; 15 } 16 return (char)value; 17 } 18