#include
#include
#include
#include
#include
#include
int func(char *, void *);
char * strrstr(char *, char *);
int my_dir(char *, int (*) (char *, void *), void *);
char * my_malloc(char * ptr, int * offset, int size);
typedef struct _a
{
char * content;
int offset;
} some;
main()
{
char *b = NULL;
some real;
real.content = NULL;
real.offset = 0;
printf("main func %x, \n", func);
if((b = getenv("Q_PATH")) == NULL)
{
return -1;
}
printf("main path is |%s|\n", b);