|
Packit |
3c2767 |
/* isascii.c - Replacement for isascii.
|
|
Packit |
3c2767 |
* Copyright (C) 2002, 2005 Free Software Foundation, Inc.
|
|
Packit |
3c2767 |
*
|
|
Packit |
3c2767 |
* This file is part of Assuan.
|
|
Packit |
3c2767 |
*
|
|
Packit |
3c2767 |
* Assuan is free software; you can redistribute it and/or modify it
|
|
Packit |
3c2767 |
* under the terms of the GNU Lesser General Public License as
|
|
Packit |
3c2767 |
* published by the Free Software Foundation; either version 2.1 of
|
|
Packit |
3c2767 |
* the License, or (at your option) any later version.
|
|
Packit |
3c2767 |
*
|
|
Packit |
3c2767 |
* Assuan is distributed in the hope that it will be useful, but
|
|
Packit |
3c2767 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
3c2767 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
3c2767 |
* Lesser General Public License for more details.
|
|
Packit |
3c2767 |
*
|
|
Packit |
3c2767 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
3c2767 |
* License along with this program; if not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
3c2767 |
* SPDX-License-Identifier: LGPL-2.1+
|
|
Packit |
3c2767 |
*/
|
|
Packit |
3c2767 |
|
|
Packit |
3c2767 |
#ifdef HAVE_CONFIG_H
|
|
Packit |
3c2767 |
#include <config.h>
|
|
Packit |
3c2767 |
#endif
|
|
Packit |
3c2767 |
|
|
Packit |
3c2767 |
int
|
|
Packit |
3c2767 |
isascii (int c)
|
|
Packit |
3c2767 |
{
|
|
Packit |
3c2767 |
return (((c) & ~0x7f) == 0);
|
|
Packit |
3c2767 |
}
|