add: setlocale(LC_NUMERIC, savelocale);
context: void loadavg(double *av1, double *av5, double *av15) {    double avg_1=0, avg_5=0, avg_15=0;        FILE_TO_BUF(LOADAVG_FILE,loadavg_fd);    if (sscanf(buf, "%lf %lf %lf", &avg_1, &avg_5, &avg_15) < 3) {	fprintf(stderr, "bad data in " LOADAVG_FILE "\n");	exit(1);    }    SET_IF_DESIRED(av1,  avg_1);    SET_IF_DESIRED(av5,  avg_5);    SET_IF_DESIRED(av15, avg_15);}