#include <unistd.h>
#include "cpp_token.h"
#include "cpp_scan.h"
Functions | |
int | isDigit (char ch) |
check if a given character is a digit | |
int | isOctDigit (char ch) |
check if a given character is a octal digit | |
int | isHexDigit (char ch) |
check if a given character is a hex digit | |
int | isLetter (char ch) |
check if a given character is a letter | |
int | isSpace (char ch) |
check if a given character is a white space | |
int | read_byte (int fd, char *c) |
read one byte | |
void | GetSymNoSpace (int fd, struct _token *t) |
get next symbol that is no white space | |
void | GetSym (int fd, struct _token *t) |
get next symbol | |
int | CopyTillNewline (int fd_in, int fd_out) |
read characters from an input files and copy them to an output file until ' ' occurs. | |
char * | sym_to_string (int sym) |
convert symbols to the corresponding text |
|
read characters from an input files and copy them to an output file until '
|
|
get next symbol
|
|
get next symbol that is no white space
|
|
check if a given character is a digit
|
|
check if a given character is a hex digit
|
|
check if a given character is a letter
|
|
check if a given character is a octal digit
|
|
check if a given character is a white space
|
|
read one byte
|
|
convert symbols to the corresponding text
|