Debian Codegraph @

templates/man2/getdomainname.2.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 "getdomainname"
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 "getdomainname, setdomainname - get/set NIS domain name"
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>unistd.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int getdomainname(>size_t size;\n"
85 "B< char >I<name>B<[>I<size>B<], size_t >I<size>B<);>\n"
86 "B<int setdomainname(>size_t size;\n"
87 "B< const char >I<name>B<[>I<size>B<], size_t >I<size>B<);>\n"
88 msgstr ""
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 msgid ""
94 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid "B<getdomainname>(), B<setdomainname>():"
101 msgstr ""
102
103 #. commit 266865c0e7b79d4196e2cc393693463f03c90bd8
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, no-wrap
108 msgid ""
109 " Since glibc 2.21:\n"
110 " _DEFAULT_SOURCE\n"
111 " In glibc 2.19 and 2.20:\n"
112 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
113 " Up to and including glibc 2.19:\n"
114 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
115 msgstr ""
116
117 #. type: SH
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid "DESCRIPTION"
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "These functions are used to access or to change the NIS domain name of the "
129 "host system. More precisely, they operate on the NIS domain name associated "
130 "with the calling process's UTS namespace."
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
135 #: opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "B<setdomainname>() sets the domain name to the value given in the character "
138 "array I<name>. The I<size> argument specifies the number of bytes in "
139 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
144 #: opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "B<getdomainname>() returns the null-terminated domain name in the character "
147 "array I<name>, which has a size of I<size> bytes. If the null-terminated "
148 "domain name requires more than I<len> bytes, B<getdomainname>() returns the "
149 "first I<len> bytes (glibc) or gives an error (libc)."
150 msgstr ""
151
152 #. type: SH
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "RETURN VALUE"
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 ""
163 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
164 "to indicate the error."
165 msgstr ""
166
167 #. type: SH
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "ERRORS"
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid "B<setdomainname>() can fail with the following errors:"
178 msgstr ""
179
180 #. type: TP
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "B<EFAULT>"
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid "I<name> pointed outside of user address space."
191 msgstr ""
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<EINVAL>"
198 msgstr ""
199
200 #. type: Plain text
201 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
202 #: opensuse-leap-16-1 opensuse-tumbleweed
203 msgid "I<size> was negative or too large."
204 msgstr ""
205
206 #. type: TP
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "B<EPERM>"
211 msgstr ""
212
213 #. type: Plain text
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 msgid ""
217 "The caller did not have the B<CAP_SYS_ADMIN> capability in the user "
218 "namespace associated with its UTS namespace (see B<namespaces>(7))."
219 msgstr ""
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid "B<getdomainname>() can fail with the following errors:"
225 msgstr ""
226
227 #. type: Plain text
228 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
229 #: opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "For B<getdomainname>() under libc: I<name> is NULL or I<name> is equal or "
232 "longer than I<size> bytes."
233 msgstr ""
234
235 #. type: SH
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "VERSIONS"
240 msgstr ""
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "On most Linux architectures (including x86), there is no B<getdomainname>() "
247 "system call; instead, glibc implements B<getdomainname>() as a library "
248 "function that returns a copy of the I<domainname> field returned from a call "
249 "to B<uname>(2)."
250 msgstr ""
251
252 #. type: SH
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "STANDARDS"
257 msgstr ""
258
259 #. But they appear on most systems...
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid "None."
264 msgstr ""
265
266 #. type: SH
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "HISTORY"
271 msgstr ""
272
273 #. type: Plain text
274 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
275 #: opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "Since Linux 1.0, the limit on the size of a domain name, including the "
278 "terminating null byte, is 64 bytes. In older kernels, it was 8 bytes."
279 msgstr ""
280
281 #. type: SH
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "SEE ALSO"
286 msgstr ""
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid "B<gethostname>(2), B<sethostname>(2), B<uname>(2), B<uts_namespaces>(7)"
292 msgstr ""
293
294 #. type: TH
295 #: debian-trixie
296 #, no-wrap
297 msgid "2024-05-02"
298 msgstr ""
299
300 #. type: TH
301 #: debian-trixie
302 #, no-wrap
303 msgid "Linux man-pages 6.9.1"
304 msgstr ""
305
306 #. type: Plain text
307 #: debian-trixie
308 msgid "Standard C library (I<libc>, I<-lc>)"
309 msgstr ""
310
311 #. type: Plain text
312 #: debian-trixie
313 #, no-wrap
314 msgid ""
315 "B<int getdomainname(char *>I<name>B<, size_t >I<len>B<);>\n"
316 "B<int setdomainname(const char *>I<name>B<, size_t >I<len>B<);>\n"
317 msgstr ""
318
319 #. type: Plain text
320 #: debian-trixie
321 msgid ""
322 "B<setdomainname>() sets the domain name to the value given in the character "
323 "array I<name>. The I<len> argument specifies the number of bytes in "
324 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
325 msgstr ""
326
327 #. type: Plain text
328 #: debian-trixie
329 msgid ""
330 "B<getdomainname>() returns the null-terminated domain name in the character "
331 "array I<name>, which has a length of I<len> bytes. If the null-terminated "
332 "domain name requires more than I<len> bytes, B<getdomainname>() returns the "
333 "first I<len> bytes (glibc) or gives an error (libc)."
334 msgstr ""
335
336 #. type: Plain text
337 #: debian-trixie
338 msgid "I<len> was negative or too large."
339 msgstr ""
340
341 #. type: Plain text
342 #: debian-trixie
343 msgid ""
344 "For B<getdomainname>() under libc: I<name> is NULL or I<name> is longer "
345 "than I<len> bytes."
346 msgstr ""
347
348 #. type: Plain text
349 #: debian-trixie
350 msgid ""
351 "Since Linux 1.0, the limit on the length of a domain name, including the "
352 "terminating null byte, is 64 bytes. In older kernels, it was 8 bytes."
353 msgstr ""
354
355 #. type: TH
356 #: fedora-44 fedora-rawhide
357 #, no-wrap
358 msgid "2024-11-17"
359 msgstr ""
360
361 #. type: TH
362 #: fedora-44 fedora-rawhide
363 #, no-wrap
364 msgid "Linux man-pages 6.13"
365 msgstr ""
366
367 #. type: Plain text
368 #: fedora-44 fedora-rawhide
369 #, no-wrap
370 msgid ""
371 "B<int getdomainname(char *>I<name>B<, size_t >I<size>B<);>\n"
372 "B<int setdomainname(const char *>I<name>B<, size_t >I<size>B<);>\n"
373 msgstr ""
374
375 #. type: TH
376 #: mageia-cauldron
377 #, no-wrap
378 msgid "Linux man-pages 6.17"
379 msgstr ""
380
381 #. type: TH
382 #: opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "Linux man-pages (unreleased)"
385 msgstr ""