| 1 |
# Korean translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# 정강훈 <[email protected]>, 2000. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 9 |
"PO-Revision-Date: 2000-05-02 08:57+0900\n" |
| 10 |
"Last-Translator: 정강훈 <[email protected]>\n" |
| 11 |
"Language-Team: Korean <[email protected]>\n" |
| 12 |
"Language: ko\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=1; plural=0;\n" |
| 17 |
|
| 18 |
#. type: TH |
| 19 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 20 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 21 |
#, no-wrap |
| 22 |
msgid "gethostname" |
| 23 |
msgstr "gethostname" |
| 24 |
|
| 25 |
#. type: TH |
| 26 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 27 |
#: opensuse-tumbleweed |
| 28 |
#, no-wrap |
| 29 |
msgid "2026-02-08" |
| 30 |
msgstr "2026년 2월 8일" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-unstable |
| 34 |
#, no-wrap |
| 35 |
msgid "Linux man-pages 6.18" |
| 36 |
msgstr "Linux man-pages 6.18" |
| 37 |
|
| 38 |
#. type: SH |
| 39 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 40 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 41 |
#, no-wrap |
| 42 |
msgid "NAME" |
| 43 |
msgstr "이름" |
| 44 |
|
| 45 |
#. type: Plain text |
| 46 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 47 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 48 |
msgid "gethostname, sethostname - get/set hostname" |
| 49 |
msgstr "gethostname, sethostname - 호스트의 이름을 알아내거나 설정한다" |
| 50 |
|
| 51 |
#. type: SH |
| 52 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 53 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 54 |
#, no-wrap |
| 55 |
msgid "LIBRARY" |
| 56 |
msgstr "라이브러리" |
| 57 |
|
| 58 |
#. type: Plain text |
| 59 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 60 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 61 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 62 |
msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)" |
| 63 |
|
| 64 |
#. type: SH |
| 65 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 66 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
#, no-wrap |
| 68 |
msgid "SYNOPSIS" |
| 69 |
msgstr "요약" |
| 70 |
|
| 71 |
#. type: Plain text |
| 72 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 73 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 74 |
#, no-wrap |
| 75 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 76 |
msgstr "B<#include E<lt>unistd.hE<gt>>\n" |
| 77 |
|
| 78 |
#. type: Plain text |
| 79 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 80 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 81 |
#, fuzzy, no-wrap |
| 82 |
#| msgid "" |
| 83 |
#| "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n" |
| 84 |
#| "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n" |
| 85 |
msgid "" |
| 86 |
"B<int gethostname(char *>I<name>B<, size_t >I<size>B<);>\n" |
| 87 |
"B<int sethostname(const char *>I<name>B<, size_t >I<size>B<);>\n" |
| 88 |
msgstr "" |
| 89 |
"B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n" |
| 90 |
"B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n" |
| 91 |
|
| 92 |
#. type: Plain text |
| 93 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 94 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 95 |
msgid "" |
| 96 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 97 |
msgstr "c" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
msgid "B<gethostname>():" |
| 103 |
msgstr "B<gethostname>():" |
| 104 |
|
| 105 |
#. The above is something of a simplification |
| 106 |
#. also before glibc 2.3 there was a bit churn |
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 109 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
#, no-wrap |
| 111 |
msgid "" |
| 112 |
" _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 113 |
" || /* glibc 2.19 and earlier */ _BSD_SOURCE\n" |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 118 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 119 |
msgid "B<sethostname>():" |
| 120 |
msgstr "B<sethostname>():" |
| 121 |
|
| 122 |
#. commit 266865c0e7b79d4196e2cc393693463f03c90bd8 |
| 123 |
#. type: Plain text |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
#, no-wrap |
| 127 |
msgid "" |
| 128 |
" Since glibc 2.21:\n" |
| 129 |
" _DEFAULT_SOURCE\n" |
| 130 |
" In glibc 2.19 and 2.20:\n" |
| 131 |
" _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n" |
| 132 |
" Up to and including glibc 2.19:\n" |
| 133 |
" _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n" |
| 134 |
msgstr "" |
| 135 |
|
| 136 |
#. type: SH |
| 137 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 138 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 139 |
#, no-wrap |
| 140 |
msgid "DESCRIPTION" |
| 141 |
msgstr "설명" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
msgid "" |
| 147 |
"These system calls are used to access or to change the system hostname. " |
| 148 |
"More precisely, they operate on the hostname associated with the calling " |
| 149 |
"process's UTS namespace." |
| 150 |
msgstr "" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 154 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"B<sethostname>() sets the hostname to the value given in the character " |
| 157 |
"array I<name>. The I<size> argument specifies the number of bytes in " |
| 158 |
"I<name>. (Thus, I<name> does not require a terminating null byte.)" |
| 159 |
msgstr "" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 163 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
msgid "" |
| 165 |
"B<gethostname>() returns the null-terminated hostname in the character " |
| 166 |
"array I<name>, which has a size of I<size> bytes. If the null-terminated " |
| 167 |
"hostname is too large to fit, then the name is truncated, and no error is " |
| 168 |
"returned (but see VERSIONS below). POSIX.1 says that if such truncation " |
| 169 |
"occurs, then it is unspecified whether the returned buffer includes a " |
| 170 |
"terminating null byte." |
| 171 |
msgstr "" |
| 172 |
|
| 173 |
#. type: SH |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, no-wrap |
| 177 |
msgid "RETURN VALUE" |
| 178 |
msgstr "반환값" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
#, fuzzy |
| 184 |
#| msgid "" |
| 185 |
#| "On success, zero is returned. On error, -1 is returned, and I<errno> is " |
| 186 |
#| "set appropriately." |
| 187 |
msgid "" |
| 188 |
"On success, zero is returned. On error, -1 is returned, and I<errno> is set " |
| 189 |
"to indicate the error." |
| 190 |
msgstr "" |
| 191 |
"성공시, 0이 리턴된다. 에러시, -1이 리턴되며, I<errno>는 적당한 값으로 설정된" |
| 192 |
"다." |
| 193 |
|
| 194 |
#. type: SH |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
#, no-wrap |
| 198 |
msgid "ERRORS" |
| 199 |
msgstr "에러" |
| 200 |
|
| 201 |
#. type: TP |
| 202 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 203 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 204 |
#, no-wrap |
| 205 |
msgid "B<EFAULT>" |
| 206 |
msgstr "B<EFAULT>" |
| 207 |
|
| 208 |
#. type: Plain text |
| 209 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 210 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 211 |
msgid "I<name> is an invalid address." |
| 212 |
msgstr "I<name>이 유효한 주소가 아니다." |
| 213 |
|
| 214 |
#. type: TP |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
#, no-wrap |
| 218 |
msgid "B<EINVAL>" |
| 219 |
msgstr "B<EINVAL>" |
| 220 |
|
| 221 |
#. Can't occur for gethostbyname() wrapper, since 'size' has an |
| 222 |
#. unsigned type; can occur for the underlying system call. |
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 225 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "" |
| 227 |
"I<size> is negative or, for B<sethostname>(), I<size> is larger than the " |
| 228 |
"maximum allowed size." |
| 229 |
msgstr "" |
| 230 |
|
| 231 |
#. type: TP |
| 232 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 233 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 234 |
#, no-wrap |
| 235 |
msgid "B<ENAMETOOLONG>" |
| 236 |
msgstr "B<ENAMETOOLONG>" |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 240 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"(glibc B<gethostname>()) I<size> is smaller than the actual size. (Before " |
| 243 |
"glibc 2.1, glibc uses B<EINVAL> for this case.)" |
| 244 |
msgstr "" |
| 245 |
|
| 246 |
#. type: TP |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
#, no-wrap |
| 250 |
msgid "B<EPERM>" |
| 251 |
msgstr "B<EPERM>" |
| 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 B<sethostname>(), the caller did not have the B<CAP_SYS_ADMIN> " |
| 258 |
"capability in the user namespace associated with its UTS namespace (see " |
| 259 |
"B<namespaces>(7))." |
| 260 |
msgstr "" |
| 261 |
|
| 262 |
#. type: SH |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "VERSIONS" |
| 267 |
msgstr "버전S" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
msgid "" |
| 273 |
"SUSv2 guarantees that \"Host names are limited to 255 bytes\". POSIX.1 " |
| 274 |
"guarantees that \"Host names (not including the terminating null byte) are " |
| 275 |
"limited to B<HOST_NAME_MAX> bytes\". On Linux, B<HOST_NAME_MAX> is defined " |
| 276 |
"with the value 64, which has been the limit since Linux 1.0 (earlier kernels " |
| 277 |
"imposed a limit of 8 bytes)." |
| 278 |
msgstr "" |
| 279 |
|
| 280 |
#. type: SS |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "C library/kernel differences" |
| 285 |
msgstr "" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 289 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "" |
| 291 |
"The GNU C library does not employ the B<gethostname>() system call; " |
| 292 |
"instead, it implements B<gethostname>() as a library function that calls " |
| 293 |
"B<uname>(2) and copies up to I<size> bytes from the returned I<nodename> " |
| 294 |
"field into I<name>. Having performed the copy, the function then checks if " |
| 295 |
"the length of the I<nodename> was greater than or equal to I<size>, and if " |
| 296 |
"it is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in " |
| 297 |
"this case, a terminating null byte is not included in the returned I<name>." |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: SH |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "STANDARDS" |
| 305 |
msgstr "표준" |
| 306 |
|
| 307 |
#. type: TP |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "B<gethostname>()" |
| 312 |
msgstr "B<gethostname>()" |
| 313 |
|
| 314 |
#. type: Plain text |
| 315 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 316 |
#: opensuse-tumbleweed |
| 317 |
msgid "POSIX.1-2024." |
| 318 |
msgstr "POSIX.1-2024." |
| 319 |
|
| 320 |
#. type: TP |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
#, no-wrap |
| 324 |
msgid "B<sethostname>()" |
| 325 |
msgstr "B<sethostname>()" |
| 326 |
|
| 327 |
#. type: Plain text |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
msgid "None." |
| 331 |
msgstr "" |
| 332 |
|
| 333 |
#. type: SH |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
#, no-wrap |
| 337 |
msgid "HISTORY" |
| 338 |
msgstr "이력" |
| 339 |
|
| 340 |
#. type: Plain text |
| 341 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 342 |
#: opensuse-tumbleweed |
| 343 |
#, fuzzy |
| 344 |
#| msgid "4.4BSD, SVr4, POSIX.1-2001." |
| 345 |
msgid "4.2BSD, SVr4, POSIX.1-2001." |
| 346 |
msgstr "4.4BSD, SVr4, POSIX.1-2001." |
| 347 |
|
| 348 |
#. type: Plain text |
| 349 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 350 |
#: opensuse-tumbleweed |
| 351 |
#, fuzzy |
| 352 |
#| msgid "4.4BSD, SVr4, POSIX.1-2001." |
| 353 |
msgid "4.2BSD, SVr4." |
| 354 |
msgstr "4.4BSD, SVr4, POSIX.1-2001." |
| 355 |
|
| 356 |
#. At least glibc 2.0 and glibc 2.1, older versions not checked |
| 357 |
#. type: Plain text |
| 358 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 359 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 360 |
msgid "" |
| 361 |
"Versions of glibc before glibc 2.2 handle the case where the length of the " |
| 362 |
"I<nodename> was greater than or equal to I<size> differently: nothing is " |
| 363 |
"copied into I<name> and the function returns -1 with I<errno> set to " |
| 364 |
"B<ENAMETOOLONG>." |
| 365 |
msgstr "" |
| 366 |
|
| 367 |
#. type: SH |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
#, no-wrap |
| 371 |
msgid "SEE ALSO" |
| 372 |
msgstr "추가 참조" |
| 373 |
|
| 374 |
#. type: Plain text |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
msgid "" |
| 378 |
"B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), " |
| 379 |
"B<uts_namespaces>(7)" |
| 380 |
msgstr "" |
| 381 |
"B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), " |
| 382 |
"B<uts_namespaces>(7)" |
| 383 |
|
| 384 |
#. type: TH |
| 385 |
#: debian-trixie |
| 386 |
#, no-wrap |
| 387 |
msgid "2024-05-02" |
| 388 |
msgstr "2024년 5월 2일" |
| 389 |
|
| 390 |
#. type: TH |
| 391 |
#: debian-trixie |
| 392 |
#, no-wrap |
| 393 |
msgid "Linux man-pages 6.9.1" |
| 394 |
msgstr "Linux man-pages 6.9.1" |
| 395 |
|
| 396 |
#. type: Plain text |
| 397 |
#: debian-trixie |
| 398 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 399 |
msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)" |
| 400 |
|
| 401 |
#. type: Plain text |
| 402 |
#: debian-trixie |
| 403 |
#, no-wrap |
| 404 |
msgid "" |
| 405 |
"B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n" |
| 406 |
"B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n" |
| 407 |
msgstr "" |
| 408 |
"B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n" |
| 409 |
"B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n" |
| 410 |
|
| 411 |
#. type: Plain text |
| 412 |
#: debian-trixie |
| 413 |
msgid "" |
| 414 |
"B<sethostname>() sets the hostname to the value given in the character " |
| 415 |
"array I<name>. The I<len> argument specifies the number of bytes in " |
| 416 |
"I<name>. (Thus, I<name> does not require a terminating null byte.)" |
| 417 |
msgstr "" |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: debian-trixie |
| 421 |
msgid "" |
| 422 |
"B<gethostname>() returns the null-terminated hostname in the character " |
| 423 |
"array I<name>, which has a length of I<len> bytes. If the null-terminated " |
| 424 |
"hostname is too large to fit, then the name is truncated, and no error is " |
| 425 |
"returned (but see NOTES below). POSIX.1 says that if such truncation " |
| 426 |
"occurs, then it is unspecified whether the returned buffer includes a " |
| 427 |
"terminating null byte." |
| 428 |
msgstr "" |
| 429 |
|
| 430 |
#. Can't occur for gethostbyname() wrapper, since 'len' has an |
| 431 |
#. unsigned type; can occur for the underlying system call. |
| 432 |
#. type: Plain text |
| 433 |
#: debian-trixie |
| 434 |
msgid "" |
| 435 |
"I<len> is negative or, for B<sethostname>(), I<len> is larger than the " |
| 436 |
"maximum allowed size." |
| 437 |
msgstr "" |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: debian-trixie |
| 441 |
msgid "" |
| 442 |
"(glibc B<gethostname>()) I<len> is smaller than the actual size. (Before " |
| 443 |
"glibc 2.1, glibc uses B<EINVAL> for this case.)" |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: Plain text |
| 447 |
#: debian-trixie |
| 448 |
msgid "" |
| 449 |
"The GNU C library does not employ the B<gethostname>() system call; " |
| 450 |
"instead, it implements B<gethostname>() as a library function that calls " |
| 451 |
"B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> " |
| 452 |
"field into I<name>. Having performed the copy, the function then checks if " |
| 453 |
"the length of the I<nodename> was greater than or equal to I<len>, and if it " |
| 454 |
"is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in " |
| 455 |
"this case, a terminating null byte is not included in the returned I<name>." |
| 456 |
msgstr "" |
| 457 |
|
| 458 |
#. type: Plain text |
| 459 |
#: debian-trixie fedora-44 fedora-rawhide |
| 460 |
msgid "POSIX.1-2008." |
| 461 |
msgstr "POSIX.1-2008." |
| 462 |
|
| 463 |
#. type: Plain text |
| 464 |
#: debian-trixie fedora-44 fedora-rawhide |
| 465 |
msgid "" |
| 466 |
"SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD). POSIX.1-2001 and " |
| 467 |
"POSIX.1-2008 specify B<gethostname>() but not B<sethostname>()." |
| 468 |
msgstr "" |
| 469 |
|
| 470 |
#. At least glibc 2.0 and glibc 2.1, older versions not checked |
| 471 |
#. type: Plain text |
| 472 |
#: debian-trixie |
| 473 |
msgid "" |
| 474 |
"Versions of glibc before glibc 2.2 handle the case where the length of the " |
| 475 |
"I<nodename> was greater than or equal to I<len> differently: nothing is " |
| 476 |
"copied into I<name> and the function returns -1 with I<errno> set to " |
| 477 |
"B<ENAMETOOLONG>." |
| 478 |
msgstr "" |
| 479 |
|
| 480 |
#. type: TH |
| 481 |
#: fedora-44 fedora-rawhide |
| 482 |
#, no-wrap |
| 483 |
msgid "2024-11-17" |
| 484 |
msgstr "2024년 11월 17일" |
| 485 |
|
| 486 |
#. type: TH |
| 487 |
#: fedora-44 fedora-rawhide |
| 488 |
#, no-wrap |
| 489 |
msgid "Linux man-pages 6.13" |
| 490 |
msgstr "Linux man-pages 6.13" |
| 491 |
|
| 492 |
#. type: TH |
| 493 |
#: mageia-cauldron |
| 494 |
#, no-wrap |
| 495 |
msgid "Linux man-pages 6.17" |
| 496 |
msgstr "Linux man-pages 6.17" |
| 497 |
|
| 498 |
#. type: TH |
| 499 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
#, no-wrap |
| 501 |
msgid "Linux man-pages (unreleased)" |
| 502 |
msgstr "Linux man-pages (미공개)" |