msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2013-09-28 04:06+0900\n"
+"POT-Creation-Date: 2014-04-13 10:26+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: TH
msgstr ""
#. type: SH
-#: build/C/man3/dl_iterate_phdr.3:195 build/C/man3/dlopen.3:509 build/C/man5/elf.5:1939 build/C/man3/end.3:108 build/C/man8/ld.so.8:486 build/C/man8/ldconfig.8:175 build/C/man1/ldd.1:108 build/C/man7/rtld-audit.7:602 build/C/man8/sln.8:60
+#: build/C/man3/dl_iterate_phdr.3:195 build/C/man3/dlopen.3:521 build/C/man5/elf.5:1939 build/C/man3/end.3:108 build/C/man8/ld.so.8:486 build/C/man8/ldconfig.8:175 build/C/man1/ldd.1:108 build/C/man7/rtld-audit.7:602 build/C/man8/sln.8:60
#, no-wrap
msgid "SEE ALSO"
msgstr ""
msgstr ""
#. type: SH
-#: build/C/man3/dl_iterate_phdr.3:205 build/C/man3/dlopen.3:518 build/C/man5/elf.5:1963 build/C/man3/end.3:113 build/C/man8/ld.so.8:498 build/C/man8/ldconfig.8:178 build/C/man1/ldd.1:111 build/C/man7/rtld-audit.7:607 build/C/man8/sln.8:64
+#: build/C/man3/dl_iterate_phdr.3:205 build/C/man3/dlopen.3:530 build/C/man5/elf.5:1963 build/C/man3/end.3:113 build/C/man8/ld.so.8:498 build/C/man8/ldconfig.8:178 build/C/man1/ldd.1:111 build/C/man7/rtld-audit.7:607 build/C/man8/sln.8:64
#, no-wrap
msgid "COLOPHON"
msgstr ""
#. type: Plain text
-#: build/C/man3/dl_iterate_phdr.3:212 build/C/man3/dlopen.3:525 build/C/man5/elf.5:1970 build/C/man3/end.3:120 build/C/man8/ld.so.8:505 build/C/man8/ldconfig.8:185 build/C/man1/ldd.1:118 build/C/man7/rtld-audit.7:614 build/C/man8/sln.8:71
+#: build/C/man3/dl_iterate_phdr.3:212 build/C/man3/dlopen.3:537 build/C/man5/elf.5:1970 build/C/man3/end.3:120 build/C/man8/ld.so.8:505 build/C/man8/ldconfig.8:185 build/C/man1/ldd.1:118 build/C/man7/rtld-audit.7:614 build/C/man8/sln.8:71
msgid ""
-"This page is part of release 3.54 of the Linux I<man-pages> project. A "
+"This page is part of release 3.63 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
"found at \\%http://www.kernel.org/doc/man-pages/."
msgstr ""
msgstr ""
#. type: TH
-#: build/C/man3/dlopen.3:35
+#: build/C/man3/dlopen.3:35 build/C/man8/ld.so.8:5
#, no-wrap
-msgid "2008-12-06"
+msgid "2014-01-08"
msgstr ""
#. type: TH
#. type: Plain text
#: build/C/man3/dlopen.3:71
msgid ""
-"The function B<dlerror>() returns a human readable string describing the "
+"The function B<dlerror>() returns a human-readable string describing the "
"most recent error that occurred from B<dlopen>(), B<dlsym>() or "
"B<dlclose>() since the last call to B<dlerror>(). It returns NULL if no "
"errors have occurred since initialization or since it was last called."
#. type: Plain text
#: build/C/man3/dlopen.3:204
msgid ""
-"If I<filename> is a NULL pointer, then the returned handle is for the main "
-"program. When given to B<dlsym>(), this handle causes a search for a symbol "
-"in the main program, followed by all shared libraries loaded at program "
-"startup, and then all shared libraries loaded by B<dlopen>() with the flag "
+"If I<filename> is NULL, then the returned handle is for the main program. "
+"When given to B<dlsym>(), this handle causes a search for a symbol in the "
+"main program, followed by all shared libraries loaded at program startup, "
+"and then all shared libraries loaded by B<dlopen>() with the flag "
"B<RTLD_GLOBAL>."
msgstr ""
" contains address */\n"
" void *dli_fbase; /* Address at which shared object\n"
" is loaded */\n"
-" const char *dli_sname; /* Name of nearest symbol with address\n"
-" lower than I<addr> */\n"
+" const char *dli_sname; /* Name of symbol whose definition\n"
+" overlaps I<addr> */\n"
" void *dli_saddr; /* Exact address of symbol named\n"
" in I<dli_sname> */\n"
"} Dl_info;\n"
msgstr ""
#. type: Plain text
+#: build/C/man3/dlopen.3:470
+#, no-wrap
+msgid " cosine = (double (*)(double)) dlsym(handle, \"cos\");\n"
+msgstr ""
+
+#. type: Plain text
#: build/C/man3/dlopen.3:475
#, no-wrap
msgid ""
-" /* Writing: cosine = (double (*)(double)) dlsym(handle, \"cos\");\n"
-" would seem more natural, but the C99 standard leaves\n"
-" casting from \"void *\" to a function pointer undefined.\n"
-" The assignment used below is the POSIX.1-2003 (Technical\n"
-" Corrigendum 1) workaround; see the Rationale for the\n"
-" POSIX specification of dlsym(). */\n"
+" /* According to the ISO C standard, casting between function\n"
+" pointers and 'void *', as done above, produces undefined results.\n"
+" POSIX.1-2003 and POSIX.1-2008 accepted this state of affairs and\n"
+" proposed the following workaround:\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/dlopen.3:477
+#, no-wrap
+msgid " *(void **) (&cosine) = dlsym(handle, \"cos\");\n"
msgstr ""
-#. But in fact "gcc -O2 -Wall" will complain about the preceding cast.
#. type: Plain text
-#: build/C/man3/dlopen.3:478
+#: build/C/man3/dlopen.3:480
#, no-wrap
-msgid " *(void **) (&cosine) = dlsym(handle, \"cos\");\n"
+msgid ""
+" This (clumsy) cast conforms with the ISO C standard and will\n"
+" avoid any compiler warnings.\n"
msgstr ""
+#. http://pubs.opengroup.org/onlinepubs/009695399/functions/dlsym.html#tag_03_112_08
+#. http://pubs.opengroup.org/onlinepubs/9699919799/functions/dlsym.html#tag_16_96_07
+#. http://austingroupbugs.net/view.php?id=74
#. type: Plain text
-#: build/C/man3/dlopen.3:483
+#: build/C/man3/dlopen.3:489
#, no-wrap
msgid ""
-" if ((error = dlerror()) != NULL) {\n"
+" The 2013 Technical Corrigendum to POSIX.1-2008 (a.k.a.\n"
+" POSIX.1-2013) improved matters by requiring that conforming\n"
+" implementations support casting 'void *' to a function pointer.\n"
+" Nevertheless, some compilers (e.g., gcc with the '-pedantic'\n"
+" option) may complain about the cast used in this program. */\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/dlopen.3:495
+#, no-wrap
+msgid ""
+" error = dlerror();\n"
+" if (error != NULL) {\n"
" fprintf(stderr, \"%s\\en\", error);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/dlopen.3:488
+#: build/C/man3/dlopen.3:500
#, no-wrap
msgid ""
" printf(\"%f\\en\", (*cosine)(2.0));\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/dlopen.3:492
+#: build/C/man3/dlopen.3:504
msgid ""
"If this program were in a file named \"foo.c\", you would build the program "
"with the following command:"
msgstr ""
#. type: Plain text
-#: build/C/man3/dlopen.3:495
+#: build/C/man3/dlopen.3:507
#, no-wrap
msgid " gcc -rdynamic -o foo foo.c -ldl\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/dlopen.3:505
+#: build/C/man3/dlopen.3:517
msgid ""
"Libraries exporting B<_init>() and B<_fini>() will want to be compiled as "
"follows, using I<bar.c> as the example name:"
msgstr ""
#. type: Plain text
-#: build/C/man3/dlopen.3:508
+#: build/C/man3/dlopen.3:520
#, no-wrap
msgid " gcc -shared -nostartfiles -o bar bar.c\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/dlopen.3:516
+#: build/C/man3/dlopen.3:528
msgid ""
"B<ld>(1), B<ldd>(1), B<dl_iterate_phdr>(3), B<rtld-audit>(7), B<ld.so>(8), "
"B<ldconfig>(8)"
msgstr ""
#. type: Plain text
-#: build/C/man3/dlopen.3:518
+#: build/C/man3/dlopen.3:530
msgid "ld.so info pages, gcc info pages, ld info pages"
msgstr ""
"All data structures that the file format defines follow the \"natural\" size "
"and alignment guidelines for the relevant class. If necessary, data "
"structures contain explicit padding to ensure 4-byte alignment for 4-byte "
-"objects, to force structure sizes to a multiple of 4, etc."
+"objects, to force structure sizes to a multiple of 4, and so on."
msgstr ""
#. type: Plain text
#. type: Plain text
#: build/C/man5/elf.5:918
msgid ""
-"This value marks an undefined, missing, irrelevant or otherwise meaningless "
+"This value marks an undefined, missing, irrelevant, or otherwise meaningless "
"section reference."
msgstr ""
#: build/C/man5/elf.5:1338
msgid ""
"This section holds the global offset table. This section is of type "
-"B<SHT_PROGBITS>. The attributes are processor specific."
+"B<SHT_PROGBITS>. The attributes are processor-specific."
msgstr ""
#. type: TP
#: build/C/man5/elf.5:1404
msgid ""
"This section holds the procedure linkage table. This section is of type "
-"B<SHT_PROGBITS>. The attributes are processor specific."
+"B<SHT_PROGBITS>. The attributes are processor-specific."
msgstr ""
#. type: TP
msgid ""
"This member gives both the symbol table index with respect to which the "
"relocation must be made and the type of relocation to apply. Relocation "
-"types are processor specific. When the text refers to a relocation entry's "
+"types are processor-specific. When the text refers to a relocation entry's "
"relocation type or symbol table index, it means the result of applying "
"B<ELF[32|64]_R_TYPE> or B<ELF[32|64]_R_SYM>, respectively, to the entry's "
"I<r_info> member."
msgid "LD.SO"
msgstr ""
-#. type: TH
-#: build/C/man8/ld.so.8:5
-#, no-wrap
-msgid "2013-07-15"
-msgstr ""
-
#. type: Plain text
#: build/C/man8/ld.so.8:8
msgid "ld.so, ld-linux.so* - dynamic linker/loader"
#. type: Plain text
#: build/C/man8/ld.so.8:198
-msgid "There are four important environment variables."
+msgid "Among the more important environment variables are the following:"
msgstr ""
#. type: TP
#: build/C/man8/ld.so.8:349
msgid ""
"(glibc since 2.1) File in which B<LD_DEBUG> output should be written. The "
-"default is standard output. B<LD_DEBUG_OUTPUT> is ignored for "
+"default is standard error. B<LD_DEBUG_OUTPUT> is ignored for "
"set-user-ID/set-group-ID binaries."
msgstr ""