/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* Copyright 2015 PALO, Richard. All rights reserved.
*/
#ifndef _SYS_CTYPE_H
#define _SYS_CTYPE_H
#ifdef __cplusplus
extern "C" {
#endif
((_c) == ' ' || \
(_c) == '\t' || \
(_c) == '\r' || \
(_c) == '\n')
isdigit(char c)
{
return (ISDIGIT(c));
}
#pragma inline(isdigit)
isxdigit(char c)
{
return (ISXDIGIT(c));
}
#pragma inline(isxdigit)
islower(char c)
{
return (ISLOWER(c));
}
#pragma inline(islower)
isupper(char c)
{
return (ISUPPER(c));
}
#pragma inline(isupper)
isalpha(char c)
{
return (ISALPHA(c));
}
#pragma inline(isalpha)
isalnum(char c)
{
return (ISALNUM(c));
}
#pragma inline(isalnum)
isprint(char c)
{
return (ISPRINT(c));
}
#pragma inline(isprint)
isspace(char c)
{
return (ISSPACE(c));
}
#pragma inline(isspace)
#ifdef __cplusplus
}
#endif
#endif /* _SYS_CTYPE_H */