summaryrefslogtreecommitdiffstats
path: root/templates/man3/rtime.3.pot
diff options
context:
space:
mode:
Diffstat (limited to 'templates/man3/rtime.3.pot')
-rw-r--r--templates/man3/rtime.3.pot569
1 files changed, 569 insertions, 0 deletions
diff --git a/templates/man3/rtime.3.pot b/templates/man3/rtime.3.pot
new file mode 100644
index 00000000..ea817a3d
--- /dev/null
+++ b/templates/man3/rtime.3.pot
@@ -0,0 +1,569 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2024-03-01 17:06+0100\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=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: TH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "rtime"
+msgstr ""
+
+#. type: TH
+#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "2023-10-31"
+msgstr ""
+
+#. type: TH
+#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "Linux man-pages 6.06"
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "NAME"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "rtime - get time from a remote machine"
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "LIBRARY"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "Standard C library (I<libc>, I<-lc>)"
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<#include E<lt>rpc/auth_des.hE<gt>>\n"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid ""
+"B<int rtime(struct sockaddr_in *>I<addrp>B<, struct rpc_timeval *>I<timep>B<,>\n"
+"B< struct rpc_timeval *>I<timeout>B<);>\n"
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"This function uses the Time Server Protocol as described in RFC\\ 868 to "
+"obtain the time from a remote machine."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The Time Server Protocol gives the time in seconds since 00:00:00 UTC, 1 Jan "
+"1900, and this function subtracts the appropriate constant in order to "
+"convert the result to seconds since the Epoch, 1970-01-01 00:00:00 +0000 "
+"(UTC)."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"When I<timeout> is non-NULL, the udp/time socket (port 37) is used. "
+"Otherwise, the tcp/time socket (port 37) is used."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "RETURN VALUE"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"On success, 0 is returned, and the obtained 32-bit time value is stored in "
+"I<timep-E<gt>tv_sec>. In case of error -1 is returned, and I<errno> is set "
+"to indicate the error."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "ERRORS"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"All errors for underlying functions (B<sendto>(2), B<poll>(2), "
+"B<recvfrom>(2), B<connect>(2), B<read>(2)) can occur. Moreover:"
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EIO>"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "The number of returned bytes is not 4."
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<ETIMEDOUT>"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "The waiting time as defined in timeout has expired."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "ATTRIBUTES"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"For an explanation of the terms used in this section, see B<attributes>(7)."
+msgstr ""
+
+#. type: tbl table
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "Interface"
+msgstr ""
+
+#. type: tbl table
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "Attribute"
+msgstr ""
+
+#. type: tbl table
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "Value"
+msgstr ""
+
+#. type: tbl table
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
+#, no-wrap
+msgid ".na\n"
+msgstr ""
+
+#. type: tbl table
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
+#, no-wrap
+msgid ".nh\n"
+msgstr ""
+
+#. type: tbl table
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<rtime>()"
+msgstr ""
+
+#. type: tbl table
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "Thread safety"
+msgstr ""
+
+#. type: tbl table
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "MT-Safe"
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "NOTES"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "Only IPv4 is supported."
+msgstr ""
+
+#. #-#-#-#-# archlinux: rtime.3.pot (PACKAGE VERSION) #-#-#-#-#
+#. .P
+#. Libc5 uses the prototype
+#. .P
+#. .nf
+#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);
+#. .fi
+#. .P
+#. and requires
+#. .I <sys/time.h>
+#. instead of
+#. .IR <rpc/auth_des.h> .
+#. type: Plain text
+#. #-#-#-#-# debian-bookworm: rtime.3.pot (PACKAGE VERSION) #-#-#-#-#
+#. .PP
+#. Libc5 uses the prototype
+#. .PP
+#. .nf
+#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);
+#. .fi
+#. .PP
+#. and requires
+#. .I <sys/time.h>
+#. instead of
+#. .IR <rpc/auth_des.h> .
+#. type: Plain text
+#. #-#-#-#-# debian-unstable: rtime.3.pot (PACKAGE VERSION) #-#-#-#-#
+#. .PP
+#. Libc5 uses the prototype
+#. .PP
+#. .nf
+#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);
+#. .fi
+#. .PP
+#. and requires
+#. .I <sys/time.h>
+#. instead of
+#. .IR <rpc/auth_des.h> .
+#. type: Plain text
+#. #-#-#-#-# fedora-40: rtime.3.pot (PACKAGE VERSION) #-#-#-#-#
+#. .P
+#. Libc5 uses the prototype
+#. .P
+#. .nf
+#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);
+#. .fi
+#. .P
+#. and requires
+#. .I <sys/time.h>
+#. instead of
+#. .IR <rpc/auth_des.h> .
+#. type: Plain text
+#. #-#-#-#-# fedora-rawhide: rtime.3.pot (PACKAGE VERSION) #-#-#-#-#
+#. .P
+#. Libc5 uses the prototype
+#. .P
+#. .nf
+#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);
+#. .fi
+#. .P
+#. and requires
+#. .I <sys/time.h>
+#. instead of
+#. .IR <rpc/auth_des.h> .
+#. type: Plain text
+#. #-#-#-#-# mageia-cauldron: rtime.3.pot (PACKAGE VERSION) #-#-#-#-#
+#. .P
+#. Libc5 uses the prototype
+#. .P
+#. .nf
+#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);
+#. .fi
+#. .P
+#. and requires
+#. .I <sys/time.h>
+#. instead of
+#. .IR <rpc/auth_des.h> .
+#. type: Plain text
+#. #-#-#-#-# opensuse-leap-15-6: rtime.3.pot (PACKAGE VERSION) #-#-#-#-#
+#. .PP
+#. Libc5 uses the prototype
+#. .PP
+#. .nf
+#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);
+#. .fi
+#. .PP
+#. and requires
+#. .I <sys/time.h>
+#. instead of
+#. .IR <rpc/auth_des.h> .
+#. type: Plain text
+#. #-#-#-#-# opensuse-tumbleweed: rtime.3.pot (PACKAGE VERSION) #-#-#-#-#
+#. .PP
+#. Libc5 uses the prototype
+#. .PP
+#. .nf
+#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *);
+#. .fi
+#. .PP
+#. and requires
+#. .I <sys/time.h>
+#. instead of
+#. .IR <rpc/auth_des.h> .
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Some I<in.timed> versions support only TCP. Try the example program with "
+"I<use_tcp> set to 1."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "BUGS"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"B<rtime>() in glibc 2.2.5 and earlier does not work properly on 64-bit "
+"machines."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "EXAMPLES"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"This example requires that port 37 is up and open. You may check that the "
+"time entry within I</etc/inetd.conf> is not commented out."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The program connects to a computer called \"linux\". Using \"localhost\" "
+"does not work. The result is the localtime of the computer \"linux\"."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
+#, no-wrap
+msgid ""
+"#include E<lt>errno.hE<gt>\n"
+"#include E<lt>netdb.hE<gt>\n"
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>string.hE<gt>\n"
+"#include E<lt>time.hE<gt>\n"
+"\\&\n"
+"#include E<lt>rpc/auth_des.hE<gt>\n"
+"\\&\n"
+"static int use_tcp = 0;\n"
+"static const char servername[] = \"linux\";\n"
+"\\&\n"
+"int\n"
+"main(void)\n"
+"{\n"
+" int ret;\n"
+" time_t t;\n"
+" struct hostent *hent;\n"
+" struct rpc_timeval time1 = {0, 0};\n"
+" struct rpc_timeval timeout = {1, 0};\n"
+" struct sockaddr_in name;\n"
+"\\&\n"
+" memset(&name, 0, sizeof(name));\n"
+" sethostent(1);\n"
+" hent = gethostbyname(servername);\n"
+" memcpy(&name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length);\n"
+"\\&\n"
+" ret = rtime(&name, &time1, use_tcp ? NULL : &timeout);\n"
+" if (ret E<lt> 0)\n"
+" perror(\"rtime error\");\n"
+" else {\n"
+" t = time1.tv_sec;\n"
+" printf(\"%s\\en\", ctime(&t));\n"
+" }\n"
+"\\&\n"
+" exit(EXIT_SUCCESS);\n"
+"}\n"
+msgstr ""
+
+#. SRC END
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "SEE ALSO"
+msgstr ""
+
+#. .BR netdate (1),
+#. .BR rdate (1),
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "B<ntpdate>(1), B<inetd>(8)"
+msgstr ""
+
+#. type: TH
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid "2022-12-15"
+msgstr ""
+
+#. type: TH
+#: debian-bookworm
+#, no-wrap
+msgid "Linux man-pages 6.03"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"#include E<lt>errno.hE<gt>\n"
+"#include E<lt>netdb.hE<gt>\n"
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>string.hE<gt>\n"
+"#include E<lt>time.hE<gt>\n"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid "#include E<lt>rpc/auth_des.hE<gt>\n"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"static int use_tcp = 0;\n"
+"static const char servername[] = \"linux\";\n"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"int\n"
+"main(void)\n"
+"{\n"
+" int ret;\n"
+" time_t t;\n"
+" struct hostent *hent;\n"
+" struct rpc_timeval time1 = {0, 0};\n"
+" struct rpc_timeval timeout = {1, 0};\n"
+" struct sockaddr_in name;\n"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+" memset(&name, 0, sizeof(name));\n"
+" sethostent(1);\n"
+" hent = gethostbyname(servername);\n"
+" memcpy(&name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length);\n"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+" ret = rtime(&name, &time1, use_tcp ? NULL : &timeout);\n"
+" if (ret E<lt> 0)\n"
+" perror(\"rtime error\");\n"
+" else {\n"
+" t = time1.tv_sec;\n"
+" printf(\"%s\\en\", ctime(&t));\n"
+" }\n"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+" exit(EXIT_SUCCESS);\n"
+"}\n"
+msgstr ""
+
+#. type: TH
+#: debian-unstable opensuse-tumbleweed
+#, no-wrap
+msgid "2023-07-20"
+msgstr ""
+
+#. type: TH
+#: debian-unstable opensuse-tumbleweed
+#, no-wrap
+msgid "Linux man-pages 6.05.01"
+msgstr ""
+
+#. type: TH
+#: opensuse-leap-15-6
+#, no-wrap
+msgid "Linux man-pages 6.04"
+msgstr ""