#, 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/chdir.3p:2 #, no-wrap msgid "CHDIR" msgstr "" #. type: TH #: man-pages-posix/man3p/chdir.3p:2 #, no-wrap msgid "2013" msgstr "" #. type: TH #: man-pages-posix/man3p/chdir.3p:2 #, no-wrap msgid "IEEE/The Open Group" msgstr "" #. type: TH #: man-pages-posix/man3p/chdir.3p:2 #, no-wrap msgid "POSIX Programmer's Manual" msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:3 #, no-wrap msgid "PROLOG" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.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/chdir.3p:9 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:12 msgid "chdir \\(em change working directory" msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:12 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:16 #, no-wrap msgid "#include Eunistd.hE\n" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:18 #, no-wrap msgid "int chdir(const char *I);\n" msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:19 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:28 msgid "" "The I() function shall cause the directory named by the pathname " "pointed to by the I argument to become the current working directory; " "that is, the starting point for path searches for pathnames not beginning " "with B<'/'>." msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:28 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:33 msgid "" "Upon successful completion, 0 shall be returned. Otherwise, \\(mi1 shall be " "returned, the current working directory shall remain unchanged, and I " "shall be set to indicate the error." msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:33 #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:37 msgid "The I() function shall fail if:" msgstr "" #. type: TP #: man-pages-posix/man3p/chdir.3p:37 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:40 msgid "Search permission is denied for any component of the pathname." msgstr "" #. type: TP #: man-pages-posix/man3p/chdir.3p:40 man-pages-posix/man3p/chdir.3p:65 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:45 msgid "" "A loop exists in symbolic links encountered during resolution of the I " "argument." msgstr "" #. type: TP #: man-pages-posix/man3p/chdir.3p:45 man-pages-posix/man3p/chdir.3p:72 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:50 msgid "The length of a component of a pathname is longer than {NAME_MAX}." msgstr "" #. type: TP #: man-pages-posix/man3p/chdir.3p:50 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:57 msgid "" "A component of I does not name an existing directory or I is an " "empty string." msgstr "" #. type: TP #: man-pages-posix/man3p/chdir.3p:57 #, no-wrap msgid "B" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:61 msgid "" "A component of the pathname names an existing file that is neither a " "directory nor a symbolic link to a directory." msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:65 msgid "The I() function may fail if:" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:72 msgid "" "More than {SYMLOOP_MAX} symbolic links were encountered during resolution of " "the I argument." msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:80 msgid "" "The length of a pathname exceeds {PATH_MAX}, or pathname resolution of a " "symbolic link produced an intermediate result with a length that exceeds " "{PATH_MAX}." msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:82 msgid "I" msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:82 #, no-wrap msgid "EXAMPLES" msgstr "" #. type: SS #: man-pages-posix/man3p/chdir.3p:83 #, no-wrap msgid "Changing the Current Working Directory" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:89 msgid "" "The following example makes the value pointed to by B, B, " "the current working directory." msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:97 #, no-wrap msgid "" "B<\n" "#include Eunistd.hE\n" "\\&...\n" "char *directory = \"/tmp\";\n" "int ret;>\n" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:99 #, no-wrap msgid "ret = chdir (directory);\n" msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:102 #, no-wrap msgid "APPLICATION USAGE" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:104 man-pages-posix/man3p/chdir.3p:110 msgid "None." msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:104 #, no-wrap msgid "RATIONALE" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:108 msgid "" "The I() function only affects the working directory of the current " "process." msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:108 #, no-wrap msgid "FUTURE DIRECTIONS" msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:110 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:112 msgid "I\\^(\\|)" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:115 msgid "The Base Definitions volume of POSIX.1\\(hy2008, Bunistd.hE>" msgstr "" #. type: SH #: man-pages-posix/man3p/chdir.3p:115 #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: man-pages-posix/man3p/chdir.3p:126 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/chdir.3p:131 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 ""