Macros | Functions
ansi2knr.c File Reference
#include <stdio.h>
#include <ctype.h>
#include <string.h>
Include dependency graph for ansi2knr.c:

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)
 

Macro Definition Documentation

◆ bufsize

#define bufsize   5000 /* arbitrary size */

◆ is_alnum

#define is_alnum (   c)    (is_ascii(c) && isalnum(c))

Definition at line 306 of file ansi2knr.c.

◆ is_alpha

#define is_alpha (   c)    (is_ascii(c) && isalpha(c))

Definition at line 305 of file ansi2knr.c.

◆ is_ascii

#define is_ascii (   c)    1

Definition at line 299 of file ansi2knr.c.

◆ is_space

#define is_space (   c)    (is_ascii(c) && isspace(c))

Definition at line 304 of file ansi2knr.c.

◆ isidchar

#define isidchar (   ch)    (is_alnum(ch) || (ch) == '_')

Definition at line 309 of file ansi2knr.c.

◆ isidfirstchar

#define isidfirstchar (   ch)    (is_alpha(ch) || (ch) == '_')

Definition at line 310 of file ansi2knr.c.

Function Documentation

◆ convert1() [1/2]

int convert1 ( )

◆ convert1() [2/2]

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

Definition at line 528 of file ansi2knr.c.

◆ free()

int free ( )

◆ main()

int main ( int  argc,
argv   
)

Definition at line 320 of file ansi2knr.c.

◆ malloc()

char* malloc ( )

◆ skipspace() [1/2]

char* skipspace ( )

◆ skipspace() [2/2]

char* skipspace ( char *  p,
int  dir 
)

Definition at line 428 of file ansi2knr.c.

◆ test1() [1/2]

int test1 ( )

◆ test1() [2/2]

int test1 ( char *  buf)

Definition at line 476 of file ansi2knr.c.

◆ writeblanks() [1/2]

int writeblanks ( )

◆ writeblanks() [2/2]

int writeblanks ( char *  start,
char *  end 
)

Definition at line 452 of file ansi2knr.c.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Thu Sep 8 2022 02:24:06