Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
palmer
/
sparse
/
53eacc1fa688f066a5426f44fbc85710677fc172
/
.
/
validation
/
linear
/
builtin_isdigit.c
blob: c1d3ea153ff199543749c450479e02fad41e0fa5 [
file
] [
log
] [
blame
]
_Bool
isdigit
(
int
c
)
{
return
__builtin_isdigit
(
c
)
==
(((
unsigned
)
(
c
-
'0'
))
<=
9
);
}
/*
* check-name: builtin_isdigit
* check-command: test-linearize -Wno-decl $file
*
* check-output-ignore
* check-output-returns: 1
*/