Debian Codegraph @

templates/man3/BIO_s_file.3ssl.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:19+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 # #-#-#-#-# archlinux: BIO_s_file.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
20 #
21 #. #-#-#-#-# archlinux: BIO_s_file.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
22 #. Required to disable full justification in groff 1.23.0.
23 #. ========================================================================
24 #. type: IX
25 #. #-#-#-#-# debian-trixie: BIO_s_file.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
26 #. ========================================================================
27 #. type: IX
28 #. #-#-#-#-# debian-unstable: BIO_s_file.3ssl.pot (PACKAGE VERSION) #-#-#-#-#
29 #. ========================================================================
30 #. type: IX
31 #: archlinux debian-trixie debian-unstable
32 #, no-wrap
33 msgid "Title"
34 msgstr ""
35
36 #
37 #. Required to disable full justification in groff 1.23.0.
38 #. ========================================================================
39 #. type: IX
40 #: archlinux
41 #, no-wrap
42 msgid "BIO_S_FILE 3ssl"
43 msgstr ""
44
45 #. type: TH
46 #: archlinux debian-trixie debian-unstable
47 #, no-wrap
48 msgid "BIO_S_FILE"
49 msgstr ""
50
51 #. type: TH
52 #: archlinux debian-trixie debian-unstable
53 #, no-wrap
54 msgid "2026-04-07"
55 msgstr ""
56
57 #. type: TH
58 #: archlinux debian-unstable
59 #, no-wrap
60 msgid "3.6.2"
61 msgstr ""
62
63 #. type: TH
64 #: archlinux debian-trixie debian-unstable
65 #, no-wrap
66 msgid "OpenSSL"
67 msgstr ""
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable
71 #, no-wrap
72 msgid "NAME"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable
77 msgid ""
78 "BIO_s_file, BIO_new_file, BIO_new_fp, BIO_set_fp, BIO_get_fp, "
79 "BIO_read_filename, BIO_write_filename, BIO_append_filename, BIO_rw_filename "
80 "- FILE bio"
81 msgstr ""
82
83 #. type: IX
84 #: archlinux debian-trixie debian-unstable
85 #, no-wrap
86 msgid "SYNOPSIS"
87 msgstr ""
88
89 #. type: IX
90 #: archlinux debian-trixie debian-unstable
91 #, no-wrap
92 msgid "Header"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable
97 #, no-wrap
98 msgid ""
99 "\\& #include E<lt>openssl/bio.hE<gt>\n"
100 "\\&\n"
101 "\\& const BIO_METHOD *BIO_s_file(void);\n"
102 "\\& BIO *BIO_new_file(const char *filename, const char *mode);\n"
103 "\\& BIO *BIO_new_fp(FILE *stream, int flags);\n"
104 "\\&\n"
105 "\\& BIO_set_fp(BIO *b, FILE *fp, int flags);\n"
106 "\\& BIO_get_fp(BIO *b, FILE **fpp);\n"
107 "\\&\n"
108 "\\& int BIO_read_filename(BIO *b, char *name);\n"
109 "\\& int BIO_write_filename(BIO *b, char *name);\n"
110 "\\& int BIO_append_filename(BIO *b, char *name);\n"
111 "\\& int BIO_rw_filename(BIO *b, char *name);\n"
112 msgstr ""
113
114 #. type: IX
115 #: archlinux debian-trixie debian-unstable
116 #, no-wrap
117 msgid "DESCRIPTION"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable
122 msgid ""
123 "\\&B<BIO_s_file()> returns the BIO file method. As its name implies it is a "
124 "wrapper round the stdio FILE structure and it is a source/sink BIO."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable
129 msgid ""
130 "Calls to B<BIO_read_ex()> and B<BIO_write_ex()> read and write data to the "
131 "underlying stream. B<BIO_gets()> and B<BIO_puts()> are supported on file "
132 "BIOs."
133 msgstr ""
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable
137 msgid ""
138 "\\&B<BIO_flush()> on a file BIO calls the B<fflush()> function on the "
139 "wrapped stream."
140 msgstr ""
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable
144 msgid ""
145 "\\&B<BIO_reset()> attempts to change the file pointer to the start of file "
146 "using fseek(stream, 0, 0)."
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable
151 msgid ""
152 "\\&B<BIO_seek()> sets the file pointer to position B<ofs> from start of file "
153 "using fseek(stream, ofs, 0)."
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable
158 msgid "\\&B<BIO_eof()> calls B<feof()>."
159 msgstr ""
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable
163 msgid ""
164 "Setting the BIO_CLOSE flag calls B<fclose()> on the stream when the BIO is "
165 "freed."
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable
170 msgid ""
171 "\\&B<BIO_new_file()> creates a new file BIO with mode B<mode> the meaning of "
172 "B<mode> is the same as the stdio function B<fopen()>. The BIO_CLOSE flag is "
173 "set on the returned BIO."
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable
178 msgid ""
179 "\\&B<BIO_new_fp()> creates a file BIO wrapping B<stream>. Flags can be: "
180 "BIO_CLOSE, BIO_NOCLOSE (the close flag) BIO_FP_TEXT (sets the underlying "
181 "stream to text mode, default is binary: this only has any effect under "
182 "Win32)."
183 msgstr ""
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable
187 msgid ""
188 "\\&B<BIO_set_fp()> sets the fp of a file BIO to B<fp>. B<flags> has the same "
189 "meaning as in B<BIO_new_fp()>, it is a macro."
190 msgstr ""
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable
194 msgid "\\&B<BIO_get_fp()> retrieves the fp of a file BIO, it is a macro."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable
199 msgid ""
200 "\\&B<BIO_seek()> is a macro that sets the position pointer to B<offset> "
201 "bytes from the start of file."
202 msgstr ""
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable
206 msgid "\\&B<BIO_tell()> returns the value of the position pointer."
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable
211 msgid ""
212 "\\&B<BIO_read_filename()>, B<BIO_write_filename()>, B<BIO_append_filename()> "
213 "and \\&B<BIO_rw_filename()> set the file BIO B<b> to use file B<name> for "
214 "reading, writing, append or read write respectively."
215 msgstr ""
216
217 #. type: IX
218 #: archlinux debian-trixie debian-unstable
219 #, no-wrap
220 msgid "NOTES"
221 msgstr ""
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable
225 msgid ""
226 "When wrapping stdout, stdin or stderr the underlying stream should not "
227 "normally be closed so the BIO_NOCLOSE flag should be set."
228 msgstr ""
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable
232 msgid ""
233 "Because the file BIO calls the underlying stdio functions any quirks in "
234 "stdio behaviour will be mirrored by the corresponding BIO."
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable
239 msgid ""
240 "On Windows BIO_new_files reserves for the filename argument to be UTF-8 "
241 "encoded. In other words if you have to make it work in multi- lingual "
242 "environment, encode filenames in UTF-8."
243 msgstr ""
244
245 #. type: IX
246 #: archlinux debian-trixie debian-unstable
247 #, no-wrap
248 msgid "RETURN VALUES"
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable
253 msgid "\\&B<BIO_s_file()> returns the file BIO method."
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable
258 msgid ""
259 "\\&B<BIO_new_file()> and B<BIO_new_fp()> return a file BIO or NULL if an "
260 "error occurred."
261 msgstr ""
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable
265 msgid ""
266 "\\&B<BIO_set_fp()> and B<BIO_get_fp()> return 1 for success or E<lt>=0 for "
267 "failure (although the current implementation never return 0)."
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable
272 msgid "\\&B<BIO_seek()> returns 0 for success or negative values for failure."
273 msgstr ""
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable
277 msgid ""
278 "\\&B<BIO_tell()> returns the current file position or negative values for "
279 "failure."
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable
284 msgid ""
285 "\\&B<BIO_read_filename()>, B<BIO_write_filename()>, B<BIO_append_filename()> "
286 "and \\&B<BIO_rw_filename()> return 1 for success or E<lt>=0 for failure. An "
287 "error is also returned if the file does not exist."
288 msgstr ""
289
290 #. type: IX
291 #: archlinux debian-trixie debian-unstable
292 #, no-wrap
293 msgid "EXAMPLES"
294 msgstr ""
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable
298 msgid "File BIO \"hello world\":"
299 msgstr ""
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable
303 #, no-wrap
304 msgid ""
305 "\\& BIO *bio_out;\n"
306 "\\&\n"
307 "\\& bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);\n"
308 "\\& BIO_printf(bio_out, \"Hello World\\en\");\n"
309 msgstr ""
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable
313 msgid "Alternative technique:"
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable
318 #, no-wrap
319 msgid ""
320 "\\& BIO *bio_out;\n"
321 "\\&\n"
322 "\\& bio_out = BIO_new(BIO_s_file());\n"
323 "\\& if (bio_out == NULL)\n"
324 "\\& /* Error */\n"
325 "\\& if (BIO_set_fp(bio_out, stdout, BIO_NOCLOSE) E<lt>= 0)\n"
326 "\\& /* Error */\n"
327 "\\& BIO_printf(bio_out, \"Hello World\\en\");\n"
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable
332 msgid "Write to a file:"
333 msgstr ""
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable
337 #, no-wrap
338 msgid ""
339 "\\& BIO *out;\n"
340 "\\&\n"
341 "\\& out = BIO_new_file(\"filename.txt\", \"w\");\n"
342 "\\& if (!out)\n"
343 "\\& /* Error */\n"
344 "\\& BIO_printf(out, \"Hello World\\en\");\n"
345 "\\& BIO_free(out);\n"
346 msgstr ""
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable
350 #, no-wrap
351 msgid ""
352 "\\& BIO *out;\n"
353 "\\&\n"
354 "\\& out = BIO_new(BIO_s_file());\n"
355 "\\& if (out == NULL)\n"
356 "\\& /* Error */\n"
357 "\\& if (BIO_write_filename(out, \"filename.txt\") E<lt>= 0)\n"
358 "\\& /* Error */\n"
359 "\\& BIO_printf(out, \"Hello World\\en\");\n"
360 "\\& BIO_free(out);\n"
361 msgstr ""
362
363 #. type: IX
364 #: archlinux debian-trixie debian-unstable
365 #, no-wrap
366 msgid "BUGS"
367 msgstr ""
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable
371 msgid ""
372 "\\&B<BIO_reset()> and B<BIO_seek()> are implemented using B<fseek()> on the "
373 "underlying stream. The return value for B<fseek()> is 0 for success or -1 if "
374 "an error occurred this differs from other types of BIO which will typically "
375 "return 1 for success and a non positive value if an error occurred."
376 msgstr ""
377
378 #. type: IX
379 #: archlinux debian-trixie debian-unstable
380 #, no-wrap
381 msgid "SEE ALSO"
382 msgstr ""
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable
386 msgid ""
387 "\\&B<BIO_seek>\\|(3), B<BIO_tell>\\|(3), \\&B<BIO_reset>\\|(3), "
388 "B<BIO_flush>\\|(3), \\&B<BIO_read_ex>\\|(3), \\&B<BIO_write_ex>\\|(3), "
389 "B<BIO_puts>\\|(3), \\&B<BIO_gets>\\|(3), B<BIO_printf>\\|(3), "
390 "\\&B<BIO_set_close>\\|(3), B<BIO_get_close>\\|(3)"
391 msgstr ""
392
393 #. type: IX
394 #: archlinux debian-trixie debian-unstable
395 #, no-wrap
396 msgid "COPYRIGHT"
397 msgstr ""
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable
401 msgid "Copyright 2000-2020 The OpenSSL Project Authors. All Rights Reserved."
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable
406 msgid ""
407 "Licensed under the Apache License 2.0 (the \"License\"). You may not use "
408 "this file except in compliance with the License. You can obtain a copy in "
409 "the file LICENSE in the source distribution or at E<lt>https://"
410 "www.openssl.org/source/license.htmlE<gt>."
411 msgstr ""
412
413 #. ========================================================================
414 #. type: IX
415 #: debian-trixie debian-unstable
416 #, no-wrap
417 msgid "BIO_S_FILE 3SSL"
418 msgstr ""
419
420 #. type: TH
421 #: debian-trixie
422 #, no-wrap
423 msgid "3.5.6"
424 msgstr ""