140865Sbostic /*- 2*62092Sbostic * Copyright (c) 1979, 1993 3*62092Sbostic * The Regents of the University of California. All rights reserved. 440865Sbostic * 540865Sbostic * %sccs.include.redist.c% 640865Sbostic */ 71642Smckusick 840865Sbostic #ifndef lint 9*62092Sbostic static char sccsid[] = "@(#)CHR.c 8.1 (Berkeley) 06/06/93"; 1040865Sbostic #endif /* not lint */ 111642Smckusick 129136Smckusick char ECHR[] = "Argument to chr of %D is out of range\n"; 131642Smckusick 142997Smckusic char CHR(value)151642SmckusickCHR(value) 169136Smckusick unsigned long value; 171642Smckusick { 189136Smckusick if (value > 127) { 199136Smckusick ERROR(ECHR, value); 201642Smckusick } 212997Smckusic return (char)value; 221642Smckusick } 23