#include <stdio.h>#include <ctype.h>#include <string.h>
Go to the source code of this file.
Macros | |
| #define | bufsize 5000 /* arbitrary size */ |
| #define | is_alnum(c) (is_ascii(c) && isalnum(c)) |
| #define | is_alpha(c) (is_ascii(c) && isalpha(c)) |
| #define | is_ascii(c) 1 |
| #define | is_space(c) (is_ascii(c) && isspace(c)) |
| #define | isidchar(ch) (is_alnum(ch) || (ch) == '_') |
| #define | isidfirstchar(ch) (is_alpha(ch) || (ch) == '_') |
Functions | |
| int | convert1 () |
| int | convert1 (char *buf, FILE *out, int header, int convert_varargs) |
| int | free () |
| int | main (int argc, argv) |
| char * | malloc () |
| char * | skipspace () |
| char * | skipspace (char *p, int dir) |
| int | test1 () |
| int | test1 (char *buf) |
| int | writeblanks () |
| int | writeblanks (char *start, char *end) |
| #define bufsize 5000 /* arbitrary size */ |
| #define is_alnum | ( | c | ) | (is_ascii(c) && isalnum(c)) |
Definition at line 306 of file ansi2knr.c.
| #define is_alpha | ( | c | ) | (is_ascii(c) && isalpha(c)) |
Definition at line 305 of file ansi2knr.c.
| #define is_ascii | ( | c | ) | 1 |
Definition at line 299 of file ansi2knr.c.
| #define is_space | ( | c | ) | (is_ascii(c) && isspace(c)) |
Definition at line 304 of file ansi2knr.c.
| #define isidchar | ( | ch | ) | (is_alnum(ch) || (ch) == '_') |
Definition at line 309 of file ansi2knr.c.
| #define isidfirstchar | ( | ch | ) | (is_alpha(ch) || (ch) == '_') |
Definition at line 310 of file ansi2knr.c.
| int convert1 | ( | ) |
Definition at line 528 of file ansi2knr.c.
| int free | ( | ) |
Definition at line 320 of file ansi2knr.c.
| char* malloc | ( | ) |
| char* skipspace | ( | ) |
| char* skipspace | ( | char * | p, |
| int | dir | ||
| ) |
Definition at line 428 of file ansi2knr.c.
| int test1 | ( | ) |
| int test1 | ( | char * | buf | ) |
Definition at line 476 of file ansi2knr.c.
| int writeblanks | ( | ) |
| int writeblanks | ( | char * | start, |
| char * | end | ||
| ) |
Definition at line 452 of file ansi2knr.c.