diff options
Diffstat (limited to 'po/pt_BR/man2/pipe.2.po')
-rw-r--r-- | po/pt_BR/man2/pipe.2.po | 99 |
1 files changed, 83 insertions, 16 deletions
diff --git a/po/pt_BR/man2/pipe.2.po b/po/pt_BR/man2/pipe.2.po index 745d8e6e..8d908add 100644 --- a/po/pt_BR/man2/pipe.2.po +++ b/po/pt_BR/man2/pipe.2.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" -"POT-Creation-Date: 2024-03-01 17:03+0100\n" +"POT-Creation-Date: 2024-06-01 06:08+0200\n" "PO-Revision-Date: 2000-06-02 19:20-0300\n" "Last-Translator: Ricardo C.O.Freitas <english.quest@best-service.com>\n" "Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian." @@ -26,16 +26,17 @@ msgid "pipe" msgstr "pipe" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap -msgid "2023-10-31" -msgstr "31 outubro 2023" +msgid "2024-05-02" +msgstr "2 maio 2024" #. type: TH -#: archlinux fedora-40 fedora-rawhide mageia-cauldron -#, no-wrap -msgid "Linux man-pages 6.06" -msgstr "Linux man-pages 6.06" +#: archlinux debian-unstable +#, fuzzy, no-wrap +#| msgid "Linux man-pages 6.7" +msgid "Linux man-pages 6.8" +msgstr "Linux man-pages 6.7" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide @@ -492,13 +493,13 @@ msgid "Program source" msgstr "Fonte do programa" #. type: Plain text -#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron -#: opensuse-tumbleweed +#: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "" "#include E<lt>stdio.hE<gt>\n" "#include E<lt>stdlib.hE<gt>\n" "#include E<lt>string.hE<gt>\n" +"#include E<lt>sys/types.hE<gt>\n" "#include E<lt>sys/wait.hE<gt>\n" "#include E<lt>unistd.hE<gt>\n" "\\&\n" @@ -740,16 +741,75 @@ msgid "" msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "2023-10-31" +msgstr "31 outubro 2023" + +#. type: TH +#: fedora-40 mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +msgstr "Linux man-pages 6.06" + +#. type: Plain text +#: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap -msgid "2023-07-30" -msgstr "30 julho 2023" +msgid "" +"#include E<lt>stdio.hE<gt>\n" +"#include E<lt>stdlib.hE<gt>\n" +"#include E<lt>string.hE<gt>\n" +"#include E<lt>sys/wait.hE<gt>\n" +"#include E<lt>unistd.hE<gt>\n" +"\\&\n" +"int\n" +"main(int argc, char *argv[])\n" +"{\n" +" int pipefd[2];\n" +" char buf;\n" +" pid_t cpid;\n" +"\\&\n" +" if (argc != 2) {\n" +" fprintf(stderr, \"Usage: %s E<lt>stringE<gt>\\en\", argv[0]);\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" if (pipe(pipefd) == -1) {\n" +" perror(\"pipe\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" cpid = fork();\n" +" if (cpid == -1) {\n" +" perror(\"fork\");\n" +" exit(EXIT_FAILURE);\n" +" }\n" +"\\&\n" +" if (cpid == 0) { /* Child reads from pipe */\n" +" close(pipefd[1]); /* Close unused write end */\n" +"\\&\n" +" while (read(pipefd[0], &buf, 1) E<gt> 0)\n" +" write(STDOUT_FILENO, &buf, 1);\n" +"\\&\n" +" write(STDOUT_FILENO, \"\\en\", 1);\n" +" close(pipefd[0]);\n" +" _exit(EXIT_SUCCESS);\n" +"\\&\n" +" } else { /* Parent writes argv[1] to pipe */\n" +" close(pipefd[0]); /* Close unused read end */\n" +" write(pipefd[1], argv[1], strlen(argv[1]));\n" +" close(pipefd[1]); /* Reader will see EOF */\n" +" wait(NULL); /* Wait for child */\n" +" exit(EXIT_SUCCESS);\n" +" }\n" +"}\n" +msgstr "" #. type: TH -#: debian-unstable opensuse-tumbleweed +#: fedora-rawhide #, no-wrap -msgid "Linux man-pages 6.05.01" -msgstr "Linux man-pages 6.05.01" +msgid "Linux man-pages 6.7" +msgstr "Linux man-pages 6.7" #. type: TH #: opensuse-leap-15-6 @@ -762,3 +822,10 @@ msgstr "30 março 2023" #, no-wrap msgid "Linux man-pages 6.04" msgstr "Linux man-pages 6.04" + +#. type: TH +#: opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "Linux man-pages 6.7" +msgid "Linux man-pages (unreleased)" +msgstr "Linux man-pages 6.7" |