#, 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/creat.3p:2 #, no-wrap msgid "CREAT" msgstr "" #. type: TH #: man-pages-posix/man3p/creat.3p:2 #, no-wrap msgid "2013" msgstr "" #. type: TH #: man-pages-posix/man3p/creat.3p:2 #, no-wrap msgid "IEEE/The Open Group" msgstr "" #. type: TH #: man-pages-posix/man3p/creat.3p:2 #, no-wrap msgid "POSIX Programmer's Manual" msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:3 #, no-wrap msgid "PROLOG" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.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/creat.3p:9 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:12 msgid "creat \\(em create a new file or rewrite an existing one" msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:12 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:17 #, no-wrap msgid "#include Esys/stat.hE\n" "#include Efcntl.hE\n" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:19 #, no-wrap msgid "int creat(const char *I, mode_t I);\n" msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:20 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:24 msgid "" "The I() function shall behave as if it is implemented as follows:" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:32 #, no-wrap msgid "" "B<\n" "int creat(const char *path, mode_t mode)\n" "{\n" " return open(path, O_WRONLY|O_CREAT|O_TRUNC, mode);\n" "}>\n" msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:35 #, no-wrap msgid "RETURN VALUE" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:38 man-pages-posix/man3p/creat.3p:41 msgid "Refer to I\\^(\\|)." msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:38 #, no-wrap msgid "ERRORS" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:43 msgid "I" msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:43 #, no-wrap msgid "EXAMPLES" msgstr "" #. type: SS #: man-pages-posix/man3p/creat.3p:44 #, no-wrap msgid "Creating a File" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:52 msgid "" "The following example creates the file B with read and write " "permissions for the file owner and read permission for group and others. The " "resulting file descriptor is assigned to the I variable." msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:64 #, no-wrap msgid "" "B<\n" "#include Efcntl.hE\n" "\\&...\n" "int fd;\n" "mode_t mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH;\n" "char *pathname = \"/tmp/file\";\n" "\\&...\n" "fd = creat(pathname, mode);\n" "\\&...>\n" msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:67 #, no-wrap msgid "APPLICATION USAGE" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:69 man-pages-posix/man3p/creat.3p:80 msgid "None." msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:69 #, no-wrap msgid "RATIONALE" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:78 msgid "" "The I() function is redundant. Its services are also provided by the " "I() function. It has been included primarily for historical purposes " "since many existing applications depend on it. It is best considered a part " "of the C binding rather than a function that should be provided in other " "languages." msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:78 #, no-wrap msgid "FUTURE DIRECTIONS" msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:80 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:83 msgid "I\\^(\\|), I\\^(\\|)" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:88 msgid "" "The Base Definitions volume of POSIX.1\\(hy2008, Bfcntl.hE>, " "Bsys_stat.hE>, Bsys_types.hE>" msgstr "" #. type: SH #: man-pages-posix/man3p/creat.3p:88 #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: man-pages-posix/man3p/creat.3p:99 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/creat.3p:104 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 ""