test15.c File Reference

#include <sys/types.h>
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>

Include dependency graph for test15.c:

Go to the source code of this file.

Defines

#define STREQ(a, b)   (strcmp((a), (b)) == 0)

Functions

 _PROTOTYPE (int chdir,(char *_path))
 _PROTOTYPE (void check,(int thing, int number))
 _PROTOTYPE (void equal,(char *a, char *b, int number))
 _PROTOTYPE (int main,(int argc, char *argv[]))
 _PROTOTYPE (void first,(void))
void check (int thing, int number)
void equal (char *a, char *b, int number)
int main (int argc, argv)
void first ()
void second ()
void quit ()

Variables

char * it = "<UNSET>"
int errct
int waserror = 0
char uctest [] = "\004\203"
int charsigned
char one [50]
char two [50]


Define Documentation

#define STREQ a,
b   )     (strcmp((a), (b)) == 0)
 

Definition at line 18 of file test15.c.

Referenced by equal(), and expr_operator().


Function Documentation

_PROTOTYPE void  first,
(void) 
 

_PROTOTYPE int  main,
(int argc, char *argv[]) 
 

_PROTOTYPE void  equal,
(char *a, char *b, int number) 
 

_PROTOTYPE void  check,
(int thing, int number) 
 

_PROTOTYPE int  chdir,
(char *_path) 
 

void check int  thing,
int  number
 

Definition at line 37 of file test15.c.

References printf.

void equal char *  a,
char *  b,
int  number
 

Definition at line 51 of file test15.c.

References check, NULL, and STREQ.

void first  ) 
 

Definition at line 100 of file test15.c.

References check, equal, index(), NULL, rindex(), strcat(), strchr, strcmp, strcpy(), strlen(), strncat(), strncmp(), strncpy(), and strrchr().

int main int  argc,
argv 
 

Definition at line 75 of file test15.c.

References chdir, fflush(), first, printf, quit, second(), stdout, and system().

void quit  ) 
 

Definition at line 691 of file test15.c.

References chdir, exit(), printf, and system().

void second  ) 
 

Definition at line 352 of file test15.c.

References bcmp(), bcopy, bzero(), check, equal, errno, memccpy(), memchr(), memcmp(), memcpy(), memmove(), memset(), NULL, O_WRONLY, open, strcpy(), strcspn(), strerror(), strpbrk(), strspn(), strstr(), and strtok().

Referenced by execute(), and main().


Variable Documentation

int charsigned
 

Definition at line 25 of file test15.c.

int errct
 

Definition at line 21 of file test15.c.

char* it = "<UNSET>"
 

Definition at line 20 of file test15.c.

char one[50]
 

Definition at line 59 of file test15.c.

Referenced by main().

char two[50]
 

Definition at line 60 of file test15.c.

char uctest[] = "\004\203"
 

Definition at line 24 of file test15.c.

int waserror = 0
 

Definition at line 22 of file test15.c.


Generated on Fri Apr 14 23:22:08 2006 for minix by  doxygen 1.4.6