Debian Codegraph @

po/ko/man3/bsearch.3.po

raw
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 # ASPLINUX <[email protected]>, 2000.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:19+0200\n"
9 "PO-Revision-Date: 2000-07-29 08:57+0900\n"
10 "Last-Translator: ASPLINUX <[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 "bsearch"
23 msgstr "bsearch"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-10"
30 msgstr "2026년 2월 10일"
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 "bsearch - binary search of a sorted array"
49 msgstr "bsearch - 정렬된 배열의 이진 탐색"
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>stdlib.hE<gt>>\n"
76 msgstr "B<#include E<lt>stdlib.hE<gt>>\n"
77
78 #. type: Plain text
79 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
80 #: opensuse-tumbleweed
81 #, no-wrap
82 msgid ""
83 "B<void *bsearch(>size_t n, size_t size;\n"
84 "B< const void >I<key>B<[>I<size>B<], const void >I<base>B<[>I<size>B< * >I<n>B<],>\n"
85 "B< size_t >I<n>B<, size_t >I<size>B<,>\n"
86 "B< typeof(int (const void [>I<size>B<], const void [>I<size>B<]))>\n"
87 "B< *>I<compar>B<);>\n"
88 msgstr ""
89
90 #. type: SH
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "DESCRIPTION"
95 msgstr "설명"
96
97 #. type: Plain text
98 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
99 #: opensuse-leap-16-1 opensuse-tumbleweed
100 #, fuzzy
101 #| msgid ""
102 #| "The B<bsearch>() function searches an array of I<nmemb> objects, the "
103 #| "initial member of which is pointed to by I<base>, for a member that "
104 #| "matches the object pointed to by I<key>. The size of each member of the "
105 #| "array is specified by I<size>."
106 msgid ""
107 "The B<bsearch>() function searches an array of I<n> objects, the initial "
108 "member of which is pointed to by I<base>, for a member that matches the "
109 "object pointed to by I<key>. The size of each member of the array is "
110 "specified by I<size>."
111 msgstr ""
112 "B<bsearch>() 함수는 I<nmemb> 오브젝트의 어레이를 찾는다, 그것의 최초 구성은 "
113 "I<key>로 지정된 오브젝트에 해당하는 구성으로, I<base>에 의해 지정된다. 각 어"
114 "레이 구성의 크기는 I<size>로 지정된다."
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 ""
120 "The contents of the array should be in ascending sorted order according to "
121 "the comparison function referenced by I<compar>. The I<compar> routine is "
122 "expected to have two arguments which point to the I<key> object and to an "
123 "array member, in that order, and should return an integer less than, equal "
124 "to, or greater than zero if the I<key> object is found, respectively, to be "
125 "less than, to match, or be greater than the array member."
126 msgstr ""
127 "어레이의 내용은 I<compar>와 관련된 비교 기능을 이용하여 상방정렬 되어야한"
128 "다. I<compar> 루틴은 I<key>를 지정하는 것과 어레이의 구성을 지정하는 두개의 "
129 "변수를 가진다. 그리고 이것은I<key>오브젝트가 찾아지면 0보다 작거나 큰 정수를 "
130 "반환해야 한다."
131
132 #. type: SH
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 #, no-wrap
136 msgid "RETURN VALUE"
137 msgstr "반환값"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "The B<bsearch>() function returns a pointer to a matching member of the "
144 "array, or NULL if no match is found. If there are multiple elements that "
145 "match the key, the element returned is unspecified."
146 msgstr ""
147 "B<bsearch>() 함수는 어레이에서 맞는 구성 요소를 잦아 그 포인터를 반환한다. 만"
148 "약 맞는게 없다면 널을 반환한다. 키에 해당하는 구성요소가 여러 개 있다면, 반환"
149 "되는 요소는 특별히 지정되지 않는다."
150
151 #. type: SH
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 #, no-wrap
155 msgid "ATTRIBUTES"
156 msgstr "속성"
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "For an explanation of the terms used in this section, see B<attributes>(7)."
163 msgstr ""
164 "이 섹션에서 사용되는 용어에 대한 설명은 B<attributes>(7)을 참조하십시오."
165
166 #. type: tbl table
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid "Interface"
171 msgstr "상호 작용"
172
173 #. type: tbl table
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "Attribute"
178 msgstr "속성"
179
180 #. type: tbl table
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "Value"
185 msgstr "번호"
186
187 #. type: tbl table
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid ".na\n"
192 msgstr ".na\n"
193
194 #. type: tbl table
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid ".nh\n"
199 msgstr ".nh\n"
200
201 #. type: tbl table
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<bsearch>()"
206 msgstr "B<bsearch>()"
207
208 #. type: tbl table
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "Thread safety"
213 msgstr ""
214
215 #. type: tbl table
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "MT-Safe"
220 msgstr "MT-Safe"
221
222 #. type: SH
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "STANDARDS"
227 msgstr "표준"
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid "C11, POSIX.1-2008."
233 msgstr "C11, POSIX.1-2008."
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 "HISTORY"
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 "POSIX.1-2001, C89, C99, SVr4, 4.3BSD."
246 msgstr "POSIX.1-2001, C89, C99, SVr4, 4.3BSD."
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 "EXAMPLES"
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 ""
259 "The example below first sorts an array of structures using B<qsort>(3), then "
260 "retrieves desired elements using B<bsearch>()."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
265 #: opensuse-tumbleweed
266 #, no-wrap
267 msgid ""
268 "#include E<lt>stdcountof.hE<gt>\n"
269 "#include E<lt>stdio.hE<gt>\n"
270 "#include E<lt>stdlib.hE<gt>\n"
271 "#include E<lt>string.hE<gt>\n"
272 "\\&\n"
273 "struct mi {\n"
274 " int nr;\n"
275 " const char *name;\n"
276 "};\n"
277 "\\&\n"
278 "static struct mi months[] = {\n"
279 " { 1, \"jan\" }, { 2, \"feb\" }, { 3, \"mar\" }, { 4, \"apr\" },\n"
280 " { 5, \"may\" }, { 6, \"jun\" }, { 7, \"jul\" }, { 8, \"aug\" },\n"
281 " { 9, \"sep\" }, {10, \"oct\" }, {11, \"nov\" }, {12, \"dec\" }\n"
282 "};\n"
283 "\\&\n"
284 "static int\n"
285 "compmi(const void *m1, const void *m2)\n"
286 "{\n"
287 " const struct mi *mi1 = m1;\n"
288 " const struct mi *mi2 = m2;\n"
289 "\\&\n"
290 " return strcmp(mi1-E<gt>name, mi2-E<gt>name);\n"
291 "}\n"
292 "\\&\n"
293 "int\n"
294 "main(int argc, char *argv[])\n"
295 "{\n"
296 " qsort(months, countof(months), sizeof(months[0]), compmi);\n"
297 " for (size_t i = 1; i E<lt> argc; i++) {\n"
298 " struct mi key;\n"
299 " struct mi *res;\n"
300 "\\&\n"
301 " key.name = argv[i];\n"
302 " res = bsearch(&key, months, countof(months),\n"
303 " sizeof(months[0]), compmi);\n"
304 " if (res == NULL)\n"
305 " printf(\"\\[aq]%s\\[aq]: unknown month\\[rs]n\", argv[i]);\n"
306 " else\n"
307 " printf(\"%s: month #%d\\[rs]n\", res-E<gt>name, res-E<gt>nr);\n"
308 " }\n"
309 " exit(EXIT_SUCCESS);\n"
310 "}\n"
311 msgstr ""
312
313 #. SRC END
314 #. type: SH
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "SEE ALSO"
319 msgstr "추가 참조"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid "B<hsearch>(3), B<lsearch>(3), B<qsort>(3), B<tsearch>(3)"
325 msgstr "B<hsearch>(3), B<lsearch>(3), B<qsort>(3), B<tsearch>(3)"
326
327 #. type: TH
328 #: debian-trixie
329 #, no-wrap
330 msgid "2024-06-15"
331 msgstr "2024년 6월 15일"
332
333 #. type: TH
334 #: debian-trixie
335 #, no-wrap
336 msgid "Linux man-pages 6.9.1"
337 msgstr "Linux man-pages 6.9.1"
338
339 #. type: Plain text
340 #: debian-trixie
341 msgid "Standard C library (I<libc>, I<-lc>)"
342 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
343
344 #. type: Plain text
345 #: debian-trixie
346 #, no-wrap
347 msgid ""
348 "B<void *bsearch(const void >I<key>B<[.>I<size>B<], const void >I<base>B<[.>I<size>B< * .>I<nmemb>B<],>\n"
349 "B< size_t >I<nmemb>B<, size_t >I<size>B<,>\n"
350 "B< int (*>I<compar>B<)(const void [.>I<size>B<], const void [.>I<size>B<]));>\n"
351 msgstr ""
352
353 #. type: Plain text
354 #: debian-trixie
355 msgid ""
356 "The B<bsearch>() function searches an array of I<nmemb> objects, the "
357 "initial member of which is pointed to by I<base>, for a member that matches "
358 "the object pointed to by I<key>. The size of each member of the array is "
359 "specified by I<size>."
360 msgstr ""
361 "B<bsearch>() 함수는 I<nmemb> 오브젝트의 어레이를 찾는다, 그것의 최초 구성은 "
362 "I<key>로 지정된 오브젝트에 해당하는 구성으로, I<base>에 의해 지정된다. 각 어"
363 "레이 구성의 크기는 I<size>로 지정된다."
364
365 #. type: Plain text
366 #: debian-trixie fedora-44 fedora-rawhide
367 #, no-wrap
368 msgid ""
369 "#include E<lt>stdio.hE<gt>\n"
370 "#include E<lt>stdlib.hE<gt>\n"
371 "#include E<lt>string.hE<gt>\n"
372 "\\&\n"
373 "#define ARRAY_SIZE(arr) (sizeof((arr)) / sizeof((arr)[0]))\n"
374 "\\&\n"
375 "struct mi {\n"
376 " int nr;\n"
377 " const char *name;\n"
378 "};\n"
379 "\\&\n"
380 "static struct mi months[] = {\n"
381 " { 1, \"jan\" }, { 2, \"feb\" }, { 3, \"mar\" }, { 4, \"apr\" },\n"
382 " { 5, \"may\" }, { 6, \"jun\" }, { 7, \"jul\" }, { 8, \"aug\" },\n"
383 " { 9, \"sep\" }, {10, \"oct\" }, {11, \"nov\" }, {12, \"dec\" }\n"
384 "};\n"
385 "\\&\n"
386 "static int\n"
387 "compmi(const void *m1, const void *m2)\n"
388 "{\n"
389 " const struct mi *mi1 = m1;\n"
390 " const struct mi *mi2 = m2;\n"
391 "\\&\n"
392 " return strcmp(mi1-E<gt>name, mi2-E<gt>name);\n"
393 "}\n"
394 "\\&\n"
395 "int\n"
396 "main(int argc, char *argv[])\n"
397 "{\n"
398 " qsort(months, ARRAY_SIZE(months), sizeof(months[0]), compmi);\n"
399 " for (size_t i = 1; i E<lt> argc; i++) {\n"
400 " struct mi key;\n"
401 " struct mi *res;\n"
402 "\\&\n"
403 " key.name = argv[i];\n"
404 " res = bsearch(&key, months, ARRAY_SIZE(months),\n"
405 " sizeof(months[0]), compmi);\n"
406 " if (res == NULL)\n"
407 " printf(\"\\[aq]%s\\[aq]: unknown month\\[rs]n\", argv[i]);\n"
408 " else\n"
409 " printf(\"%s: month #%d\\[rs]n\", res-E<gt>name, res-E<gt>nr);\n"
410 " }\n"
411 " exit(EXIT_SUCCESS);\n"
412 "}\n"
413 msgstr ""
414
415 #. type: TH
416 #: fedora-44 fedora-rawhide
417 #, no-wrap
418 msgid "2024-12-13"
419 msgstr "2024년 12월 13일"
420
421 #. type: TH
422 #: fedora-44 fedora-rawhide
423 #, no-wrap
424 msgid "Linux man-pages 6.13"
425 msgstr "Linux man-pages 6.13"
426
427 #. type: Plain text
428 #: fedora-44 fedora-rawhide
429 #, no-wrap
430 msgid ""
431 "B<void *bsearch(const void >I<key>B<[.>I<size>B<], const void >I<base>B<[.>I<size>B< * .>I<n>B<],>\n"
432 "B< size_t >I<n>B<, size_t >I<size>B<,>\n"
433 "B< typeof(int (const void [.>I<size>B<], const void [.>I<size>B<]))>\n"
434 "B< *>I<compar>B<);>\n"
435 msgstr ""
436
437 #. type: TH
438 #: mageia-cauldron
439 #, no-wrap
440 msgid "Linux man-pages 6.17"
441 msgstr "Linux man-pages 6.17"
442
443 #. type: TH
444 #: opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "Linux man-pages (unreleased)"
447 msgstr "Linux man-pages (미공개)"