ctype(3) wrapper functions
- Authors
-
- Copyright
- This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file ctype.c.
bool mutt_isspace |
( |
int |
arg | ) |
|
Wrapper for isspace(3)
- Parameters
-
- Return values
-
true | Character is white-space |
In the "C" and "POSIX" locales, these are: space, form-feed ('\f'), newline ('\n'), carriage return ('\r'), horizontal tab ('\t'), and vertical tab ('\v').
Definition at line 95 of file ctype.c.
96{
97 if (isascii(arg))
98 return isspace(arg);
99
100 return false;
101}