#define _GNU_SOURCE
#include <string.h>
#include <stdlib.h>
int main(void)
{
static char *server = NULL;
static double delay = 1.356e-32;
static char *username = NULL;
static long int debug = 1;
};
server = strdup("gazonk");
printf("verbose: %s\n", verbose ? "true" : "false");
printf("server: %s\n", server);
printf("username: %s\n", username);
printf("debug: %ld\n", debug);
printf("delay: %G\n", delay);
printf("setting username to 'foo'\n");
printf("username: %s\n", username);
{
FILE *fp = fopen("simple.conf.out", "w");
fclose(fp);
}
free(server);
free(username);
return 0;
}