handle = dlopen("libm.so", RTLD_LAZY);
if (!handle) {
- fprintf(stderr, "%s\\n", dlerror());
+ fprintf(stderr, "%s\en", dlerror());
exit(EXIT_FAILURE);
}
.\" But in fact "gcc -O2 -Wall" will complain about the preceding cast.
if ((error = dlerror()) != NULL) {
- fprintf(stderr, "%s\\n", error);
+ fprintf(stderr, "%s\en", error);
exit(EXIT_FAILURE);
}
- printf("%f\\n", (*cosine)(2.0));
+ printf("%f\en", (*cosine)(2.0));
dlclose(handle);
exit(EXIT_SUCCESS);
}