NAME ispunct - whether character is a punctuation SYNOPSIS ispunct(c) TYPES c string return int DESCRIPTION Determine if c is a punctuation. This function will return 1 if c is a punctuation, 0 otherwise. EXAMPLE ; print ispunct("A"), ispunct("a"), ispunct(" "), ispunct("?") 0 0 0 1 LIMITS none LINK LIBRARY none SEE ALSO islower, isupper, isalnum, isalpha, iscntrl, isdigit, isgraph, isprint isspace, isxdigit ## Copyright (C) 2013 Christoph Zurnieden ## ## Calc is open software; you can redistribute it and/or modify it under ## the terms of the version 2.1 of the GNU Lesser General Public License ## as published by the Free Software Foundation. ## ## Calc 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 Lesser General ## Public License for more details. ## ## A copy of version 2.1 of the GNU Lesser General Public License is ## distributed with calc under the filename COPYING-LGPL. You should have ## received a copy with calc; if not, write to Free Software Foundation, Inc. ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ## ## Under source code control: 2013/09/01 18:10:53 ## File existed as early as: 2013 ## ## chongo /\oo/\ http://www.isthe.com/chongo/ ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/