I was told that when I do something like
that typedefing the struct declares a new data type. I thought a data type and variable where the same thing. Apparently they aren't. What exactly is the difference between the two then?Code:#include <stdio.h>
typedef struct{
int fd;
char d;
}DIR;
/*DIR *opendir(char *getname);*/
int main(void) {
return 0;
}
Chad