I am trying to emulate callback mechanism in C. The code I have is follows:


#include <stdio.h>
#include <pthread.h>

struct fopen_struct {
char *filename;
char *mode;
void...