Debian Codegraph @

templates/man3/getnetent_r.3.pot

raw
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:25+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 "getnetent_r"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-06-28"
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 ""
50 "getnetent_r, getnetbyname_r, getnetbyaddr_r - get network entry (reentrant)"
51 msgstr ""
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr ""
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr ""
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr ""
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>netdb.hE<gt>>\n"
78 msgstr ""
79
80 #. type: Plain text
81 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int getnetent_r(>size_t size;\n"
86 "B< struct netent *restrict >I<result_buf>B<,>\n"
87 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
88 "B< struct netent **restrict >I<result>B<,>\n"
89 "B< int *restrict >I<h_errnop>B<);>\n"
90 "B<int getnetbyname_r(>size_t size;\n"
91 "B< const char *restrict >I<name>B<,>\n"
92 "B< struct netent *restrict >I<result_buf>B<,>\n"
93 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
94 "B< struct netent **restrict >I<result>B<,>\n"
95 "B< int *restrict >I<h_errnop>B<);>\n"
96 "B<int getnetbyaddr_r(>size_t size;\n"
97 "B< uint32_t >I<net>B<, int >I<type>B<,>\n"
98 "B< struct netent *restrict >I<result_buf>B<,>\n"
99 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
100 "B< struct netent **restrict >I<result>B<,>\n"
101 "B< int *restrict >I<h_errnop>B<);>\n"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
109 msgstr ""
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid "B<getnetent_r>(), B<getnetbyname_r>(), B<getnetbyaddr_r>():"
115 msgstr ""
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid ""
122 " Since glibc 2.19:\n"
123 " _DEFAULT_SOURCE\n"
124 " glibc 2.19 and earlier:\n"
125 " _BSD_SOURCE || _SVID_SOURCE\n"
126 msgstr ""
127
128 #. type: SH
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 #, no-wrap
132 msgid "DESCRIPTION"
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "The B<getnetent_r>(), B<getnetbyname_r>(), and B<getnetbyaddr_r>() "
140 "functions are the reentrant equivalents of, respectively, B<getnetent>(3), "
141 "B<getnetbyname>(3), and B<getnetbynumber>(3). They differ in the way that "
142 "the I<netent> structure is returned, and in the function calling signature "
143 "and return value. This manual page describes just the differences from the "
144 "nonreentrant functions."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "Instead of returning a pointer to a statically allocated I<netent> structure "
152 "as the function result, these functions copy the structure into the location "
153 "pointed to by I<result_buf>."
154 msgstr ""
155
156 #. I can find no information on the required/recommended buffer size;
157 #. the nonreentrant functions use a 1024 byte buffer -- mtk.
158 #. type: Plain text
159 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
160 #: opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "The I<buf> array is used to store the string fields pointed to by the "
163 "returned I<netent> structure. (The nonreentrant functions allocate these "
164 "strings in static storage.) The size of this array is specified in "
165 "I<size>. If I<buf> is too small, the call fails with the error B<ERANGE>, "
166 "and the caller must try again with a larger buffer. (A buffer of size 1024 "
167 "bytes should be sufficient for most applications.)"
168 msgstr ""
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "If the function call successfully obtains a network record, then I<*result> "
175 "is set pointing to I<result_buf>; otherwise, I<*result> is set to NULL."
176 msgstr ""
177
178 #. getnetent.3 doesn't document any use of h_errno, but nevertheless
179 #. the nonreentrant functions no seem to set h_errno.
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "The buffer pointed to by I<h_errnop> is used to return the value that would "
185 "be stored in the global variable I<h_errno> by the nonreentrant versions of "
186 "these functions."
187 msgstr ""
188
189 #. type: SH
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "RETURN VALUE"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "On success, these functions return 0. On error, they return one of the "
201 "positive error numbers listed in ERRORS."
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "On error, record not found (B<getnetbyname_r>(), B<getnetbyaddr_r>()), or "
209 "end of input (B<getnetent_r>()) I<result> is set to NULL."
210 msgstr ""
211
212 #. type: SH
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "ERRORS"
217 msgstr ""
218
219 #. type: TP
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "B<ENOENT>"
224 msgstr ""
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "(B<getnetent_r>()) No more records in database."
230 msgstr ""
231
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<ERANGE>"
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
241 #: opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "I<buf> is too small. Try again with a larger buffer (and increased I<size>)."
244 msgstr ""
245
246 #. type: SH
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "ATTRIBUTES"
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid ""
257 "For an explanation of the terms used in this section, see B<attributes>(7)."
258 msgstr ""
259
260 #. type: tbl table
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "Interface"
265 msgstr ""
266
267 #. type: tbl table
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid "Attribute"
272 msgstr ""
273
274 #. type: tbl table
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "Value"
279 msgstr ""
280
281 #. type: tbl table
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid ".na\n"
286 msgstr ""
287
288 #. type: tbl table
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid ".nh\n"
293 msgstr ""
294
295 #. type: tbl table
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 #, no-wrap
299 msgid ""
300 "B<getnetent_r>(),\n"
301 "B<getnetbyname_r>(),\n"
302 "B<getnetbyaddr_r>()"
303 msgstr ""
304
305 #. type: tbl table
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "Thread safety"
310 msgstr ""
311
312 #. type: tbl table
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "MT-Safe locale"
317 msgstr ""
318
319 #. type: SH
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "VERSIONS"
324 msgstr ""
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "Functions with similar names exist on some other systems, though typically "
331 "with different calling signatures."
332 msgstr ""
333
334 #. type: SH
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid "STANDARDS"
339 msgstr ""
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid "GNU."
345 msgstr ""
346
347 #. type: SH
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "SEE ALSO"
352 msgstr ""
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid "B<getnetent>(3), B<networks>(5)"
358 msgstr ""
359
360 #. type: TH
361 #: debian-trixie
362 #, no-wrap
363 msgid "2024-05-02"
364 msgstr ""
365
366 #. type: TH
367 #: debian-trixie
368 #, no-wrap
369 msgid "Linux man-pages 6.9.1"
370 msgstr ""
371
372 #. type: Plain text
373 #: debian-trixie
374 msgid "Standard C library (I<libc>, I<-lc>)"
375 msgstr ""
376
377 #. type: Plain text
378 #: debian-trixie
379 #, no-wrap
380 msgid ""
381 "B<int getnetent_r(struct netent *restrict >I<result_buf>B<,>\n"
382 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
383 "B< struct netent **restrict >I<result>B<,>\n"
384 "B< int *restrict >I<h_errnop>B<);>\n"
385 "B<int getnetbyname_r(const char *restrict >I<name>B<,>\n"
386 "B< struct netent *restrict >I<result_buf>B<,>\n"
387 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
388 "B< struct netent **restrict >I<result>B<,>\n"
389 "B< int *restrict >I<h_errnop>B<);>\n"
390 "B<int getnetbyaddr_r(uint32_t >I<net>B<, int >I<type>B<,>\n"
391 "B< struct netent *restrict >I<result_buf>B<,>\n"
392 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
393 "B< struct netent **restrict >I<result>B<,>\n"
394 "B< int *restrict >I<h_errnop>B<);>\n"
395 msgstr ""
396
397 #. I can find no information on the required/recommended buffer size;
398 #. the nonreentrant functions use a 1024 byte buffer -- mtk.
399 #. type: Plain text
400 #: debian-trixie
401 msgid ""
402 "The I<buf> array is used to store the string fields pointed to by the "
403 "returned I<netent> structure. (The nonreentrant functions allocate these "
404 "strings in static storage.) The size of this array is specified in "
405 "I<buflen>. If I<buf> is too small, the call fails with the error B<ERANGE>, "
406 "and the caller must try again with a larger buffer. (A buffer of length "
407 "1024 bytes should be sufficient for most applications.)"
408 msgstr ""
409
410 #. type: Plain text
411 #: debian-trixie
412 msgid ""
413 "I<buf> is too small. Try again with a larger buffer (and increased "
414 "I<buflen>)."
415 msgstr ""
416
417 #. type: TH
418 #: fedora-44 fedora-rawhide
419 #, no-wrap
420 msgid "2024-12-24"
421 msgstr ""
422
423 #. type: TH
424 #: fedora-44 fedora-rawhide
425 #, no-wrap
426 msgid "Linux man-pages 6.13"
427 msgstr ""
428
429 #. type: Plain text
430 #: fedora-44 fedora-rawhide
431 #, no-wrap
432 msgid ""
433 "B<int getnetent_r(struct netent *restrict >I<result_buf>B<,>\n"
434 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
435 "B< struct netent **restrict >I<result>B<,>\n"
436 "B< int *restrict >I<h_errnop>B<);>\n"
437 "B<int getnetbyname_r(const char *restrict >I<name>B<,>\n"
438 "B< struct netent *restrict >I<result_buf>B<,>\n"
439 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
440 "B< struct netent **restrict >I<result>B<,>\n"
441 "B< int *restrict >I<h_errnop>B<);>\n"
442 "B<int getnetbyaddr_r(uint32_t >I<net>B<, int >I<type>B<,>\n"
443 "B< struct netent *restrict >I<result_buf>B<,>\n"
444 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
445 "B< struct netent **restrict >I<result>B<,>\n"
446 "B< int *restrict >I<h_errnop>B<);>\n"
447 msgstr ""
448
449 #. type: TH
450 #: mageia-cauldron
451 #, no-wrap
452 msgid "Linux man-pages 6.17"
453 msgstr ""
454
455 #. type: TH
456 #: opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "Linux man-pages (unreleased)"
459 msgstr ""