Skip to content

Commit

Permalink
ctype
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 15, 2012
1 parent abcffff commit cea455b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
19 changes: 19 additions & 0 deletions c.ctype.md
@@ -0,0 +1,19 @@

# Character classes

As found in `<ctype.h>`.

isalpha(c) [a-zA-Z]
isupper(c) [A-Z]
islower(c) [a-z]
isdigit(c) [0-9]
isalnum(c) isalpha(c) | isdigit(c)
isspace(c) \t \f \v \n \r
ispunct(c) ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
isxdigit(c) [a-fA-F0-9]
isgraph(c)
isctrl(c)

tolower(c) return c converted to lower case
toupper(c) return c converted to upper case

3 changes: 3 additions & 0 deletions html.canvas.md
Expand Up @@ -102,3 +102,6 @@

Add color stop at `offset` with the given `color`.

# More information

Visit http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html

0 comments on commit cea455b

Please sign in to comment.