| 1 |
# SOME DESCRIPTIVE TITLE |
| 2 |
# Copyright (C) YEAR Free Software Foundation, Inc. |
| 3 |
# This file is distributed under the same license as the PACKAGE package. |
| 4 |
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 |
# |
| 6 |
#, fuzzy |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: PACKAGE VERSION\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:40+0200\n" |
| 11 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
| 12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" |
| 13 |
"Language-Team: LANGUAGE <[email protected]>\n" |
| 14 |
"Language: \n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "rtime" |
| 24 |
msgstr "" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, no-wrap |
| 36 |
msgid "Linux man-pages 6.18" |
| 37 |
msgstr "" |
| 38 |
|
| 39 |
#. type: SH |
| 40 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 41 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 42 |
#, no-wrap |
| 43 |
msgid "NAME" |
| 44 |
msgstr "" |
| 45 |
|
| 46 |
#. type: Plain text |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
msgid "rtime - get time from a remote machine" |
| 50 |
msgstr "" |
| 51 |
|
| 52 |
#. type: SH |
| 53 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 54 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 55 |
#, no-wrap |
| 56 |
msgid "LIBRARY" |
| 57 |
msgstr "" |
| 58 |
|
| 59 |
#. type: Plain text |
| 60 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 61 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 62 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 63 |
msgstr "" |
| 64 |
|
| 65 |
#. type: SH |
| 66 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 67 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 68 |
#, no-wrap |
| 69 |
msgid "SYNOPSIS" |
| 70 |
msgstr "" |
| 71 |
|
| 72 |
#. type: Plain text |
| 73 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 74 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 75 |
#, no-wrap |
| 76 |
msgid "B<#include E<lt>rpc/auth_des.hE<gt>>\n" |
| 77 |
msgstr "" |
| 78 |
|
| 79 |
#. type: Plain text |
| 80 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 81 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 82 |
#, no-wrap |
| 83 |
msgid "" |
| 84 |
"B<int rtime(struct sockaddr_in *>I<addrp>B<, struct rpc_timeval *>I<timep>B<,>\n" |
| 85 |
"B< struct rpc_timeval *>I<timeout>B<);>\n" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: SH |
| 89 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 90 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 91 |
#, no-wrap |
| 92 |
msgid "DESCRIPTION" |
| 93 |
msgstr "" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"This function uses the Time Server Protocol as described in RFC\\ 868 to " |
| 100 |
"obtain the time from a remote machine." |
| 101 |
msgstr "" |
| 102 |
|
| 103 |
#. type: Plain text |
| 104 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 105 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 106 |
msgid "" |
| 107 |
"The Time Server Protocol gives the time in seconds since 00:00:00 UTC, 1 Jan " |
| 108 |
"1900, and this function subtracts the appropriate constant in order to " |
| 109 |
"convert the result to seconds since the Epoch, 1970-01-01 00:00:00 +0000 " |
| 110 |
"(UTC)." |
| 111 |
msgstr "" |
| 112 |
|
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
msgid "" |
| 117 |
"When I<timeout> is non-NULL, the udp/time socket (port 37) is used. " |
| 118 |
"Otherwise, the tcp/time socket (port 37) is used." |
| 119 |
msgstr "" |
| 120 |
|
| 121 |
#. type: SH |
| 122 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 123 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 124 |
#, no-wrap |
| 125 |
msgid "RETURN VALUE" |
| 126 |
msgstr "" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "" |
| 132 |
"On success, 0 is returned, and the obtained 32-bit time value is stored in " |
| 133 |
"I<timep-E<gt>tv_sec>. In case of error -1 is returned, and I<errno> is set " |
| 134 |
"to indicate the error." |
| 135 |
msgstr "" |
| 136 |
|
| 137 |
#. type: SH |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
#, no-wrap |
| 141 |
msgid "ERRORS" |
| 142 |
msgstr "" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 146 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 147 |
msgid "" |
| 148 |
"All errors for underlying functions (B<sendto>(2), B<poll>(2), " |
| 149 |
"B<recvfrom>(2), B<connect>(2), B<read>(2)) can occur. Moreover:" |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: TP |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "B<EIO>" |
| 157 |
msgstr "" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "The number of returned bytes is not 4." |
| 163 |
msgstr "" |
| 164 |
|
| 165 |
#. type: TP |
| 166 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 167 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 168 |
#, no-wrap |
| 169 |
msgid "B<ETIMEDOUT>" |
| 170 |
msgstr "" |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
msgid "The waiting time as defined in timeout has expired." |
| 176 |
msgstr "" |
| 177 |
|
| 178 |
#. type: SH |
| 179 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 180 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 181 |
#, no-wrap |
| 182 |
msgid "ATTRIBUTES" |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
msgid "" |
| 189 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 190 |
msgstr "" |
| 191 |
|
| 192 |
#. type: tbl table |
| 193 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 194 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 195 |
#, no-wrap |
| 196 |
msgid "Interface" |
| 197 |
msgstr "" |
| 198 |
|
| 199 |
#. type: tbl table |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, no-wrap |
| 203 |
msgid "Attribute" |
| 204 |
msgstr "" |
| 205 |
|
| 206 |
#. type: tbl table |
| 207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 209 |
#, no-wrap |
| 210 |
msgid "Value" |
| 211 |
msgstr "" |
| 212 |
|
| 213 |
#. type: tbl table |
| 214 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 215 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 216 |
#, no-wrap |
| 217 |
msgid ".na\n" |
| 218 |
msgstr "" |
| 219 |
|
| 220 |
#. type: tbl table |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
#, no-wrap |
| 224 |
msgid ".nh\n" |
| 225 |
msgstr "" |
| 226 |
|
| 227 |
#. type: tbl table |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
#, no-wrap |
| 231 |
msgid "B<rtime>()" |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#. type: tbl table |
| 235 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 236 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 237 |
#, no-wrap |
| 238 |
msgid "Thread safety" |
| 239 |
msgstr "" |
| 240 |
|
| 241 |
#. type: tbl table |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
#, no-wrap |
| 245 |
msgid "MT-Safe" |
| 246 |
msgstr "" |
| 247 |
|
| 248 |
#. type: SH |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
#, no-wrap |
| 252 |
msgid "NOTES" |
| 253 |
msgstr "" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 258 |
msgid "Only IPv4 is supported." |
| 259 |
msgstr "" |
| 260 |
|
| 261 |
#. .P |
| 262 |
#. Libc5 uses the prototype |
| 263 |
#. .P |
| 264 |
#. .nf |
| 265 |
#. int rtime(struct sockaddr_in *, struct timeval *, struct timeval *); |
| 266 |
#. .fi |
| 267 |
#. .P |
| 268 |
#. and requires |
| 269 |
#. .I <sys/time.h> |
| 270 |
#. instead of |
| 271 |
#. .IR <rpc/auth_des.h> . |
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "" |
| 276 |
"Some I<in.timed> versions support only TCP. Try the example program with " |
| 277 |
"I<use_tcp> set to 1." |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: SH |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "BUGS" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "" |
| 291 |
"B<rtime>() in glibc 2.2.5 and earlier does not work properly on 64-bit " |
| 292 |
"machines." |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
#. type: SH |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
#, no-wrap |
| 299 |
msgid "EXAMPLES" |
| 300 |
msgstr "" |
| 301 |
|
| 302 |
#. type: Plain text |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
msgid "" |
| 306 |
"This example requires that port 37 is up and open. You may check that the " |
| 307 |
"time entry within I</etc/inetd.conf> is not commented out." |
| 308 |
msgstr "" |
| 309 |
|
| 310 |
#. type: Plain text |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
msgid "" |
| 314 |
"The program connects to a computer called \"linux\". Using \"localhost\" " |
| 315 |
"does not work. The result is the localtime of the computer \"linux\"." |
| 316 |
msgstr "" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
#, no-wrap |
| 322 |
msgid "" |
| 323 |
"#include E<lt>errno.hE<gt>\n" |
| 324 |
"#include E<lt>netdb.hE<gt>\n" |
| 325 |
"#include E<lt>stdio.hE<gt>\n" |
| 326 |
"#include E<lt>stdlib.hE<gt>\n" |
| 327 |
"#include E<lt>string.hE<gt>\n" |
| 328 |
"#include E<lt>time.hE<gt>\n" |
| 329 |
"\\&\n" |
| 330 |
"#include E<lt>rpc/auth_des.hE<gt>\n" |
| 331 |
"\\&\n" |
| 332 |
"static int use_tcp = 0;\n" |
| 333 |
"static const char servername[] = \"linux\";\n" |
| 334 |
"\\&\n" |
| 335 |
"int\n" |
| 336 |
"main(void)\n" |
| 337 |
"{\n" |
| 338 |
" int ret;\n" |
| 339 |
" time_t t;\n" |
| 340 |
" struct hostent *hent;\n" |
| 341 |
" struct rpc_timeval time1 = {0, 0};\n" |
| 342 |
" struct rpc_timeval timeout = {1, 0};\n" |
| 343 |
" struct sockaddr_in name;\n" |
| 344 |
"\\&\n" |
| 345 |
" memset(&name, 0, sizeof(name));\n" |
| 346 |
" sethostent(1);\n" |
| 347 |
" hent = gethostbyname(servername);\n" |
| 348 |
" memcpy(&name.sin_addr, hent-E<gt>h_addr, hent-E<gt>h_length);\n" |
| 349 |
"\\&\n" |
| 350 |
" ret = rtime(&name, &time1, use_tcp ? NULL : &timeout);\n" |
| 351 |
" if (ret E<lt> 0)\n" |
| 352 |
" perror(\"rtime error\");\n" |
| 353 |
" else {\n" |
| 354 |
" t = time1.tv_sec;\n" |
| 355 |
" printf(\"%s\\[rs]n\", ctime(&t));\n" |
| 356 |
" }\n" |
| 357 |
"\\&\n" |
| 358 |
" exit(EXIT_SUCCESS);\n" |
| 359 |
"}\n" |
| 360 |
msgstr "" |
| 361 |
|
| 362 |
#. SRC END |
| 363 |
#. type: SH |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
#, no-wrap |
| 367 |
msgid "SEE ALSO" |
| 368 |
msgstr "" |
| 369 |
|
| 370 |
#. .BR netdate (1), |
| 371 |
#. .BR rdate (1), |
| 372 |
#. type: Plain text |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
msgid "B<ntpdate>(1), B<inetd>(8)" |
| 376 |
msgstr "" |
| 377 |
|
| 378 |
#. type: TH |
| 379 |
#: debian-trixie |
| 380 |
#, no-wrap |
| 381 |
msgid "2024-06-15" |
| 382 |
msgstr "" |
| 383 |
|
| 384 |
#. type: TH |
| 385 |
#: debian-trixie |
| 386 |
#, no-wrap |
| 387 |
msgid "Linux man-pages 6.9.1" |
| 388 |
msgstr "" |
| 389 |
|
| 390 |
#. type: Plain text |
| 391 |
#: debian-trixie |
| 392 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 393 |
msgstr "" |
| 394 |
|
| 395 |
#. type: TH |
| 396 |
#: fedora-44 fedora-rawhide |
| 397 |
#, no-wrap |
| 398 |
msgid "2024-07-23" |
| 399 |
msgstr "" |
| 400 |
|
| 401 |
#. type: TH |
| 402 |
#: fedora-44 fedora-rawhide |
| 403 |
#, no-wrap |
| 404 |
msgid "Linux man-pages 6.13" |
| 405 |
msgstr "" |
| 406 |
|
| 407 |
#. type: TH |
| 408 |
#: mageia-cauldron |
| 409 |
#, no-wrap |
| 410 |
msgid "Linux man-pages 6.17" |
| 411 |
msgstr "" |
| 412 |
|
| 413 |
#. type: TH |
| 414 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
#, no-wrap |
| 416 |
msgid "Linux man-pages (unreleased)" |
| 417 |
msgstr "" |