#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:58+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages-posix/man3p/basename.3p:2 #, no-wrap msgid "BASENAME" msgstr "" #. type: TH #: man-pages-posix/man3p/basename.3p:2 #, no-wrap msgid "2013" msgstr "" #. type: TH #: man-pages-posix/man3p/basename.3p:2 #, no-wrap msgid "IEEE/The Open Group" msgstr "" #. type: TH #: man-pages-posix/man3p/basename.3p:2 #, no-wrap msgid "POSIX Programmer's Manual" msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:3 #, no-wrap msgid "PROLOG" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:8 msgid "" "This manual page is part of the POSIX Programmer's Manual. The Linux " "implementation of this interface may differ (consult the corresponding Linux " "manual page for details of Linux behavior), or the interface may not be " "implemented on Linux." msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:9 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:12 msgid "basename \\(em return the last component of a pathname" msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:12 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:16 #, no-wrap msgid "#include Elibgen.hE\n" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:18 #, no-wrap msgid "char *basename(char *I);\n" msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:19 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:28 msgid "" "The I() function shall take the pathname pointed to by I " "and return a pointer to the final component of the pathname, deleting any " "trailing B<'/'> characters." msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:46 msgid "" "If the string pointed to by I consists entirely of the B<'/'> " "character, I() shall return a pointer to the string B<\"/\">. If " "the string pointed to by I is exactly B<\"//\">, it is implementation-" "defined whether B<'/'> or B<\"//\"> is returned." msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:53 msgid "" "If I is a null pointer or points to an empty string, I() " "shall return a pointer to the string B<\".\">." msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:61 msgid "" "The I() function may modify the string pointed to by I, and " "may return a pointer to internal storage. The returned pointer might be " "invalidated or the storage might be overwritten by a subsequent call to " "I()." msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:65 msgid "The I() function need not be thread-safe." msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:65 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:70 msgid "" "The I() function shall return a pointer to the final component of " "I." msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:70 #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:72 msgid "No errors are defined." msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:74 msgid "I" msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:74 #, no-wrap msgid "EXAMPLES" msgstr "" #. type: SS #: man-pages-posix/man3p/basename.3p:75 #, no-wrap msgid "Using basename(\\|)" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:81 msgid "" "The following program fragment returns a pointer to the value I, which " "is the base name of B." msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:89 #, no-wrap msgid "" "B<\n" "#include Elibgen.hE\n" "\\&...\n" "char *name = \"/usr/lib\";\n" "char *base;>\n" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:92 #, no-wrap msgid "base = basename(name);\n" "\\&...\n" msgstr "" #. type: SS #: man-pages-posix/man3p/basename.3p:95 #, no-wrap msgid "Sample Input and Output Strings for basename(\\|)" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:102 msgid "" "In the following table, the input string is the value pointed to by I, " "and the output string is the return value of the I() function." msgstr "" #. type: tbl table #: man-pages-posix/man3p/basename.3p:106 #, no-wrap msgid "Input String!Output String\n" msgstr "" #. type: tbl table #: man-pages-posix/man3p/basename.3p:107 #, no-wrap msgid "_\n" msgstr "" #. type: tbl table #: man-pages-posix/man3p/basename.3p:108 #, no-wrap msgid "\"/usr/lib\"!\"lib\"\n" msgstr "" #. type: tbl table #: man-pages-posix/man3p/basename.3p:109 #, no-wrap msgid "\"/usr/\"!\"usr\"\n" msgstr "" #. type: tbl table #: man-pages-posix/man3p/basename.3p:110 #, no-wrap msgid "\"/\"!\"/\"\n" msgstr "" #. type: tbl table #: man-pages-posix/man3p/basename.3p:111 #, no-wrap msgid "\"///\"!\"/\"\n" msgstr "" #. type: tbl table #: man-pages-posix/man3p/basename.3p:112 #, no-wrap msgid "\"//usr//lib//\"!\"lib\"\n" msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:114 #, no-wrap msgid "APPLICATION USAGE" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:116 man-pages-posix/man3p/basename.3p:118 man-pages-posix/man3p/basename.3p:120 msgid "None." msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:116 #, no-wrap msgid "RATIONALE" msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:118 #, no-wrap msgid "FUTURE DIRECTIONS" msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:120 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:122 msgid "I\\^(\\|)" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:125 msgid "The Base Definitions volume of POSIX.1\\(hy2008, Blibgen.hE>" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:128 msgid "The Shell and Utilities volume of POSIX.1\\(hy2008, I\\^" msgstr "" #. type: SH #: man-pages-posix/man3p/basename.3p:128 #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:139 msgid "" "Portions of this text are reprinted and reproduced in electronic form from " "IEEE Std 1003.1, 2013 Edition, Standard for Information Technology -- " "Portable Operating System Interface (POSIX), The Open Group Base " "Specifications Issue 7, Copyright (C) 2013 by the Institute of Electrical " "and Electronics Engineers, Inc and The Open Group. (This is POSIX.1-2008 " "with the 2013 Technical Corrigendum 1 applied.) In the event of any " "discrepancy between this version and the original IEEE and The Open Group " "Standard, the original IEEE and The Open Group Standard is the referee " "document. The original Standard can be obtained online at http://www.unix." "org/online.html ." msgstr "" #. type: Plain text #: man-pages-posix/man3p/basename.3p:144 msgid "" "Any typographical or formatting errors that appear in this page are most " "likely to have been introduced during the conversion of the source files to " "man page format. To report such errors, see https://www.kernel.org/doc/man-" "pages/reporting_bugs.html ." msgstr ""