]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/dlopen.3
time.1, atexit.3, bsearch.3, dlopen.3, envz_add.3, errno.3, fmtmsg.3, getgrent_r...
[thirdparty/man-pages.git] / man3 / dlopen.3
index b93c85d68321aa3f4893d4426b7e15ab48f01bf0..e2a50950dc218aa37113bb6fcbe444d488771b31 100644 (file)
@@ -460,7 +460,7 @@ main(int argc, char **argv)
 
     handle = dlopen("libm.so", RTLD_LAZY);
     if (!handle) {
-        fprintf(stderr, "%s\\n", dlerror());
+        fprintf(stderr, "%s\en", dlerror());
         exit(EXIT_FAILURE);
     }
 
@@ -477,11 +477,11 @@ main(int argc, char **argv)
 .\" 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);
 }