Debian Codegraph @

templates/man2/query_module.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:39+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 "query_module"
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-09-07"
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 "query_module - query the kernel for various bits pertaining to modules"
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 "SYNOPSIS"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "B<#include E<lt>linux/module.hE<gt>>\n"
64 msgstr ""
65
66 #. type: Plain text
67 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
68 #: opensuse-tumbleweed
69 #, no-wrap
70 msgid ""
71 "B<[[deprecated]] int query_module(>size_t bufsize;\n"
72 "B< const char *>I<name>B<, int >I<which>B<,>\n"
73 "B< void >I<buf>B<[>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
74 "B< size_t *>I<ret>B<);>\n"
75 msgstr ""
76
77 #. type: SH
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "DESCRIPTION"
82 msgstr ""
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 msgid "I<Note>: This system call is present only before Linux 2.6."
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 "B<query_module>() requests information from the kernel about loadable "
95 "modules. The returned information is placed in the buffer pointed to by "
96 "I<buf>. The caller must specify the size of I<buf> in I<bufsize>. The "
97 "precise nature and format of the returned information depend on the "
98 "operation specified by I<which>. Some operations require I<name> to "
99 "identify a currently loaded module, some allow I<name> to be NULL, "
100 "indicating the kernel proper."
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 "The following values can be specified for I<which>:"
107 msgstr ""
108
109 #. type: TP
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "B<0>"
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 ""
120 "Returns success, if the kernel supports B<query_module>(). Used to probe "
121 "for availability of the system call."
122 msgstr ""
123
124 #. type: TP
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, no-wrap
128 msgid "B<QM_MODULES>"
129 msgstr ""
130
131 #. ret is set on ENOSPC
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "Returns the names of all loaded modules. The returned buffer consists of a "
137 "sequence of null-terminated strings; I<ret> is set to the number of modules."
138 msgstr ""
139
140 #. type: TP
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "B<QM_DEPS>"
145 msgstr ""
146
147 #. ret is set on ENOSPC
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "Returns the names of all modules used by the indicated module. The returned "
153 "buffer consists of a sequence of null-terminated strings; I<ret> is set to "
154 "the number of modules."
155 msgstr ""
156
157 #. type: TP
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid "B<QM_REFS>"
162 msgstr ""
163
164 #. ret is set on ENOSPC
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "Returns the names of all modules using the indicated module. This is the "
170 "inverse of B<QM_DEPS>. The returned buffer consists of a sequence of null-"
171 "terminated strings; I<ret> is set to the number of modules."
172 msgstr ""
173
174 #. type: TP
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "B<QM_SYMBOLS>"
179 msgstr ""
180
181 #. ret is set on ENOSPC
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "Returns the symbols and values exported by the kernel or the indicated "
187 "module. The returned buffer is an array of structures of the following form"
188 msgstr ""
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid ""
195 "struct module_symbol {\n"
196 " unsigned long value;\n"
197 " unsigned long name;\n"
198 "};\n"
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "followed by null-terminated strings. The value of I<name> is the character "
206 "offset of the string relative to the start of I<buf>; I<ret> is set to the "
207 "number of symbols."
208 msgstr ""
209
210 #. type: TP
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 #, no-wrap
214 msgid "B<QM_INFO>"
215 msgstr ""
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "Returns miscellaneous information about the indicated module. The output "
222 "buffer format is:"
223 msgstr ""
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid ""
230 "struct module_info {\n"
231 " unsigned long address;\n"
232 " unsigned long size;\n"
233 " unsigned long flags;\n"
234 "};\n"
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "where I<address> is the kernel address at which the module resides, I<size> "
242 "is the size of the module in bytes, and I<flags> is a mask of "
243 "B<MOD_RUNNING>, B<MOD_AUTOCLEAN>, and so on, that indicates the current "
244 "status of the module (see the Linux kernel source file I<include/linux/"
245 "module.h>). I<ret> is set to the size of the I<module_info> structure."
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 "RETURN VALUE"
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 "On success, zero is returned. On error, -1 is returned and I<errno> is set "
260 "to indicate the error."
261 msgstr ""
262
263 #. type: SH
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "ERRORS"
268 msgstr ""
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<EFAULT>"
275 msgstr ""
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid ""
281 "At least one of I<name>, I<buf>, or I<ret> was outside the program's "
282 "accessible address space."
283 msgstr ""
284
285 #. type: TP
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "B<EINVAL>"
290 msgstr ""
291
292 #. Not permitted with QM_DEPS, QM_REFS, or QM_INFO.
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid ""
297 "Invalid I<which>; or I<name> is NULL (indicating \"the kernel\"), but this "
298 "is not permitted with the specified value of I<which>."
299 msgstr ""
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "B<ENOENT>"
306 msgstr ""
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid "No module by that I<name> exists."
312 msgstr ""
313
314 #. type: TP
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "B<ENOSPC>"
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 ""
325 "The buffer size provided was too small. I<ret> is set to the minimum size "
326 "needed."
327 msgstr ""
328
329 #. type: TP
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "B<ENOSYS>"
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid ""
340 "B<query_module>() is not supported in this version of the kernel (e.g., "
341 "Linux 2.6 or later)."
342 msgstr ""
343
344 #. type: SH
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid "STANDARDS"
349 msgstr ""
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid "Linux."
355 msgstr ""
356
357 #. type: SH
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "VERSIONS"
362 msgstr ""
363
364 #. Removed in Linux 2.5.48
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid "Removed in Linux 2.6."
369 msgstr ""
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid ""
375 "Some of the information that was formerly available via B<query_module>() "
376 "can be obtained from I</proc/modules>, I</proc/kallsyms>, and the files "
377 "under the directory I</sys/module>."
378 msgstr ""
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "The B<query_module>() system call is not supported by glibc. No "
385 "declaration is provided in glibc headers, but, through a quirk of history, "
386 "glibc does export an ABI for this system call. Therefore, in order to "
387 "employ this system call, it is sufficient to manually declare the interface "
388 "in your code; alternatively, you can invoke the system call using "
389 "B<syscall>(2)."
390 msgstr ""
391
392 #. type: SH
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "SEE ALSO"
397 msgstr ""
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "B<create_module>(2), B<delete_module>(2), B<get_kernel_syms>(2), "
404 "B<init_module>(2), B<lsmod>(8), B<modinfo>(8)"
405 msgstr ""
406
407 #. type: TH
408 #: debian-trixie fedora-44 fedora-rawhide
409 #, no-wrap
410 msgid "2024-05-02"
411 msgstr ""
412
413 #. type: TH
414 #: debian-trixie
415 #, no-wrap
416 msgid "Linux man-pages 6.9.1"
417 msgstr ""
418
419 #. type: Plain text
420 #: debian-trixie fedora-44 fedora-rawhide
421 #, no-wrap
422 msgid ""
423 "B<[[deprecated]] int query_module(const char *>I<name>B<, int >I<which>B<,>\n"
424 "B< void >I<buf>B<[.>I<bufsize>B<], size_t >I<bufsize>B<,>\n"
425 "B< size_t *>I<ret>B<);>\n"
426 msgstr ""
427
428 #. type: TH
429 #: fedora-44 fedora-rawhide
430 #, no-wrap
431 msgid "Linux man-pages 6.13"
432 msgstr ""
433
434 #. type: TH
435 #: mageia-cauldron
436 #, no-wrap
437 msgid "Linux man-pages 6.17"
438 msgstr ""
439
440 #. type: TH
441 #: opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "Linux man-pages (unreleased)"
444 msgstr ""