Defines | Functions

ansi2knr.c File Reference

#include <stdio.h>
#include <ctype.h>
#include <string.h>
Include dependency graph for ansi2knr.c:

Defines

#define is_ascii(c)   1
#define is_space(c)   (is_ascii(c) && isspace(c))
#define is_alpha(c)   (is_ascii(c) && isalpha(c))
#define is_alnum(c)   (is_ascii(c) && isalnum(c))
#define isidchar(ch)   (is_alnum(ch) || (ch) == '_')
#define isidfirstchar(ch)   (is_alpha(ch) || (ch) == '_')
#define bufsize   5000

Functions

char * malloc ()
int free ()
char * skipspace ()
int writeblanks ()
int test1 ()
int convert1 ()
int main (int argc, argv)
char * skipspace (char *p, int dir)
int writeblanks (char *start, char *end)
int test1 (char *buf)
int convert1 (char *buf, FILE *out, int header, int convert_varargs)

Define Documentation

#define bufsize   5000
#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) == '_')

Function Documentation

int convert1 (  ) 

Here is the caller graph for this function:

int convert1 ( char *  buf,
FILE *  out,
int  header,
int  convert_varargs 
)

Here is the call graph for this function:

int free (  ) 

Here is the caller graph for this function:

int main ( int  argc,
argv   
)

Here is the call graph for this function:

char* malloc (  ) 

Here is the caller graph for this function:

char* skipspace ( char *  p,
int  dir 
)
char* skipspace (  ) 

Here is the caller graph for this function:

int test1 (  ) 

Here is the caller graph for this function:

int test1 ( char *  buf  ) 

Here is the call graph for this function:

int writeblanks ( char *  start,
char *  end 
)
int writeblanks (  ) 

Here is the caller graph for this function: