diff options
Diffstat (limited to 'db-4.8.30/clib/isprint.c')
| -rw-r--r-- | db-4.8.30/clib/isprint.c | 28 | 
1 files changed, 28 insertions, 0 deletions
diff --git a/db-4.8.30/clib/isprint.c b/db-4.8.30/clib/isprint.c new file mode 100644 index 0000000..d46f3b8 --- /dev/null +++ b/db-4.8.30/clib/isprint.c @@ -0,0 +1,28 @@ +/*- + * See the file LICENSE for redistribution information. + * + * Copyright (c) 2005-2009 Oracle.  All rights reserved. + * + * $Id$ + */ + +#include "db_config.h" + +#include "db_int.h" + +/* + * isprint -- + * + * PUBLIC: #ifndef HAVE_ISPRINT + * PUBLIC: int isprint __P((int)); + * PUBLIC: #endif + */ +int +isprint(c) +	int c; +{ +	/* +	 * Depends on ASCII character values. +	 */ +	return ((c >= ' ' && c <= '~') ? 1 : 0); +}  | 
