1/*- 2 * See the file LICENSE for redistribution information. 3 * 4 * Copyright (c) 2005,2008 Oracle. All rights reserved. 5 * 6 * $Id: isspace.c,v 1.5 2008/01/08 20:58:08 bostic Exp $ 7 */ 8 9#include "db_config.h" 10 11#include "db_int.h" 12 13/* 14 * isspace -- 15 * 16 * PUBLIC: #ifndef HAVE_ISSPACE 17 * PUBLIC: int isspace __P((int)); 18 * PUBLIC: #endif 19 */ 20int 21isspace(c) 22 int c; 23{ 24 return (c == '\t' || c == '\n' || 25 c == '\v' || c == '\f' || c == '\r' || c == ' ' ? 1 : 0); 26} 27