mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.12.4.12
This commit is contained in:
54
help/ispunct
Normal file
54
help/ispunct
Normal file
@@ -0,0 +1,54 @@
|
||||
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.
|
||||
##
|
||||
## @(#) $Revision: 30.3 $
|
||||
## @(#) $Id: ispunct,v 30.3 2013/09/01 20:00:20 chongo Exp $
|
||||
## @(#) $Source: /usr/local/src/bin/calc/help/RCS/ispunct,v $
|
||||
##
|
||||
## Under source code control: 2013/09/01 18:10:53
|
||||
## File existed as early as: 2013
|
||||
##
|
||||
## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
|
||||
## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
Reference in New Issue
Block a user