| 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_read.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 20 |
# |
| 21 |
#. #-#-#-#-# archlinux: BIO_read.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 22 |
#. Required to disable full justification in groff 1.23.0. |
| 23 |
#. ======================================================================== |
| 24 |
#. type: IX |
| 25 |
#. #-#-#-#-# debian-trixie: BIO_read.3ssl.pot (PACKAGE VERSION) #-#-#-#-# |
| 26 |
#. ======================================================================== |
| 27 |
#. type: IX |
| 28 |
#. #-#-#-#-# debian-unstable: BIO_read.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_READ 3ssl" |
| 43 |
msgstr "" |
| 44 |
|
| 45 |
#. type: TH |
| 46 |
#: archlinux debian-trixie debian-unstable |
| 47 |
#, no-wrap |
| 48 |
msgid "BIO_READ" |
| 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_read_ex, BIO_write_ex, BIO_read, BIO_write, BIO_gets, BIO_get_line, " |
| 79 |
"BIO_puts \\&- BIO I/O functions" |
| 80 |
msgstr "" |
| 81 |
|
| 82 |
#. type: IX |
| 83 |
#: archlinux debian-trixie debian-unstable |
| 84 |
#, no-wrap |
| 85 |
msgid "SYNOPSIS" |
| 86 |
msgstr "" |
| 87 |
|
| 88 |
#. type: IX |
| 89 |
#: archlinux debian-trixie debian-unstable |
| 90 |
#, no-wrap |
| 91 |
msgid "Header" |
| 92 |
msgstr "" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-trixie debian-unstable |
| 96 |
#, no-wrap |
| 97 |
msgid "" |
| 98 |
"\\& #include E<lt>openssl/bio.hE<gt>\n" |
| 99 |
"\\&\n" |
| 100 |
"\\& int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);\n" |
| 101 |
"\\& int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written);\n" |
| 102 |
"\\&\n" |
| 103 |
"\\& int BIO_read(BIO *b, void *data, int dlen);\n" |
| 104 |
"\\& int BIO_gets(BIO *b, char *buf, int size);\n" |
| 105 |
"\\& int BIO_get_line(BIO *b, char *buf, int size);\n" |
| 106 |
"\\& int BIO_write(BIO *b, const void *data, int dlen);\n" |
| 107 |
"\\& int BIO_puts(BIO *b, const char *buf);\n" |
| 108 |
msgstr "" |
| 109 |
|
| 110 |
#. type: IX |
| 111 |
#: archlinux debian-trixie debian-unstable |
| 112 |
#, no-wrap |
| 113 |
msgid "DESCRIPTION" |
| 114 |
msgstr "" |
| 115 |
|
| 116 |
#. type: Plain text |
| 117 |
#: archlinux debian-trixie debian-unstable |
| 118 |
msgid "" |
| 119 |
"\\&B<BIO_read_ex()> attempts to read I<dlen> bytes from BIO I<b> and places " |
| 120 |
"the data in I<data>. If any bytes were successfully read then the number of " |
| 121 |
"bytes read is stored in I<*readbytes>." |
| 122 |
msgstr "" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable |
| 126 |
msgid "" |
| 127 |
"\\&B<BIO_write_ex()> attempts to write I<dlen> bytes from I<data> to BIO " |
| 128 |
"I<b>. If successful then the number of bytes written is stored in " |
| 129 |
"I<*written> unless I<written> is NULL." |
| 130 |
msgstr "" |
| 131 |
|
| 132 |
#. type: Plain text |
| 133 |
#: archlinux debian-trixie debian-unstable |
| 134 |
msgid "" |
| 135 |
"\\&B<BIO_read()> attempts to read I<len> bytes from BIO I<b> and places the " |
| 136 |
"data in I<buf>." |
| 137 |
msgstr "" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux |
| 141 |
msgid "" |
| 142 |
"\\&B<BIO_gets()> performs the BIOs \"gets\" operation and places the data in " |
| 143 |
"I<buf>. Usually this operation will attempt to read a line of data from the " |
| 144 |
"BIO of maximum length I<size-1>. There are exceptions to this, however; for " |
| 145 |
"example, B<BIO_gets()> on a digest BIO will calculate and return the digest " |
| 146 |
"and other BIOs may not support B<BIO_gets()> at all. The returned string is " |
| 147 |
"always NUL-terminated and the \\*(Aq\\en\\*(Aq is preserved if present in " |
| 148 |
"the input data. On binary input there may be NUL characters within the " |
| 149 |
"string; in this case the return value (if nonnegative) may give an incorrect " |
| 150 |
"length." |
| 151 |
msgstr "" |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux |
| 155 |
msgid "" |
| 156 |
"\\&B<BIO_get_line()> attempts to read from BIO I<b> a line of data up to the " |
| 157 |
"next \\*(Aq\\en\\*(Aq or the maximum length I<size-1> is reached and places " |
| 158 |
"the data in I<buf>. The returned string is always NUL-terminated and the " |
| 159 |
"\\*(Aq\\en\\*(Aq is preserved if present in the input data. On binary input " |
| 160 |
"there may be NUL characters within the string; in this case the return value " |
| 161 |
"(if nonnegative) gives the actual length read. For implementing this, " |
| 162 |
"unfortunately the data needs to be read byte-by-byte." |
| 163 |
msgstr "" |
| 164 |
|
| 165 |
#. type: Plain text |
| 166 |
#: archlinux debian-trixie debian-unstable |
| 167 |
msgid "" |
| 168 |
"\\&B<BIO_write()> attempts to write I<len> bytes from I<buf> to BIO I<b>." |
| 169 |
msgstr "" |
| 170 |
|
| 171 |
#. type: Plain text |
| 172 |
#: archlinux |
| 173 |
msgid "" |
| 174 |
"\\&B<BIO_puts()> attempts to write a NUL-terminated string I<buf> to BIO " |
| 175 |
"I<b>, without the terminating NUL byte and without appending " |
| 176 |
"\\*(Aq\\en\\*(Aq (so, similar to B<fputs>\\|(3), and not B<puts>\\|(3))." |
| 177 |
msgstr "" |
| 178 |
|
| 179 |
#. type: IX |
| 180 |
#: archlinux debian-trixie debian-unstable |
| 181 |
#, no-wrap |
| 182 |
msgid "RETURN VALUES" |
| 183 |
msgstr "" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable |
| 187 |
msgid "" |
| 188 |
"\\&B<BIO_read_ex()> returns 1 if data was successfully read, and 0 otherwise." |
| 189 |
msgstr "" |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable |
| 193 |
msgid "" |
| 194 |
"\\&B<BIO_write_ex()> returns 1 if no error was encountered writing data, 0 " |
| 195 |
"otherwise. Requesting to write 0 bytes is not considered an error." |
| 196 |
msgstr "" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable |
| 200 |
msgid "" |
| 201 |
"\\&B<BIO_write()> returns -2 if the \"write\" operation is not implemented " |
| 202 |
"by the BIO or -1 on other errors. Otherwise it returns the number of bytes " |
| 203 |
"written. This may be 0 if the BIO I<b> is NULL or I<dlen E<lt>= 0>." |
| 204 |
msgstr "" |
| 205 |
|
| 206 |
#. type: Plain text |
| 207 |
#: archlinux debian-trixie debian-unstable |
| 208 |
msgid "" |
| 209 |
"\\&B<BIO_gets()> returns -2 if the \"gets\" operation is not implemented by " |
| 210 |
"the BIO or -1 on other errors. Otherwise it typically returns the amount of " |
| 211 |
"data read, but depending on the implementation it may return only the length " |
| 212 |
"up to the first NUL character contained in the data read. In any case the " |
| 213 |
"trailing NUL that is added after the data read is not included in the length " |
| 214 |
"returned." |
| 215 |
msgstr "" |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-trixie debian-unstable |
| 219 |
msgid "" |
| 220 |
"All other functions return either the amount of data successfully read or " |
| 221 |
"written (if the return value is positive) or that no data was successfully " |
| 222 |
"read or written if the result is 0 or -1. If the return value is -2 then the " |
| 223 |
"operation is not implemented in the specific BIO type." |
| 224 |
msgstr "" |
| 225 |
|
| 226 |
#. type: IX |
| 227 |
#: archlinux debian-trixie debian-unstable |
| 228 |
#, no-wrap |
| 229 |
msgid "NOTES" |
| 230 |
msgstr "" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable |
| 234 |
msgid "" |
| 235 |
"A 0 or -1 return is not necessarily an indication of an error. In particular " |
| 236 |
"when the source/sink is nonblocking or of a certain type it may merely be an " |
| 237 |
"indication that no data is currently available and that the application " |
| 238 |
"should retry the operation later." |
| 239 |
msgstr "" |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable |
| 243 |
msgid "" |
| 244 |
"One technique sometimes used with blocking sockets is to use a system call " |
| 245 |
"(such as B<select()>, B<poll()> or equivalent) to determine when data is " |
| 246 |
"available and then call B<read()> to read the data. The equivalent with BIOs " |
| 247 |
"(that is call \\&B<select()> on the underlying I/O structure and then call " |
| 248 |
"B<BIO_read()> to read the data) should B<not> be used because a single call " |
| 249 |
"to B<BIO_read()> can cause several reads (and writes in the case of SSL " |
| 250 |
"BIOs) on the underlying I/O structure and may block as a result. Instead " |
| 251 |
"B<select()> (or equivalent) should be combined with non blocking I/O so " |
| 252 |
"successive reads will request a retry instead of blocking." |
| 253 |
msgstr "" |
| 254 |
|
| 255 |
#. type: Plain text |
| 256 |
#: archlinux debian-trixie debian-unstable |
| 257 |
msgid "" |
| 258 |
"See B<BIO_should_retry>\\|(3) for details of how to determine the cause of a " |
| 259 |
"retry and other I/O issues." |
| 260 |
msgstr "" |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-trixie debian-unstable |
| 264 |
msgid "" |
| 265 |
"If the \"gets\" method is not supported by a BIO then B<BIO_get_line()> can " |
| 266 |
"be used. It is also possible to make B<BIO_gets()> usable even if the " |
| 267 |
"\"gets\" method is not supported by adding a buffering BIO B<BIO_f_buffer>\\|" |
| 268 |
"(3) to the chain." |
| 269 |
msgstr "" |
| 270 |
|
| 271 |
#. type: IX |
| 272 |
#: archlinux debian-trixie debian-unstable |
| 273 |
#, no-wrap |
| 274 |
msgid "SEE ALSO" |
| 275 |
msgstr "" |
| 276 |
|
| 277 |
#. type: Plain text |
| 278 |
#: archlinux debian-trixie debian-unstable |
| 279 |
msgid "\\&B<BIO_should_retry>\\|(3)" |
| 280 |
msgstr "" |
| 281 |
|
| 282 |
#. type: IX |
| 283 |
#: archlinux debian-trixie debian-unstable |
| 284 |
#, no-wrap |
| 285 |
msgid "HISTORY" |
| 286 |
msgstr "" |
| 287 |
|
| 288 |
#. type: Plain text |
| 289 |
#: archlinux |
| 290 |
msgid "" |
| 291 |
"\\&B<BIO_gets()> on 1.1.0 and older when called on B<BIO_fd()> based BIO did " |
| 292 |
"not keep the \\*(Aq\\en\\*(Aq at the end of the line in the buffer." |
| 293 |
msgstr "" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable |
| 297 |
msgid "\\&B<BIO_get_line()> was added in OpenSSL 3.0." |
| 298 |
msgstr "" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable |
| 302 |
msgid "" |
| 303 |
"\\&B<BIO_write_ex()> returns 1 if the size of the data to write is 0 and the " |
| 304 |
"\\&I<written> parameter of the function can be NULL since OpenSSL 3.0." |
| 305 |
msgstr "" |
| 306 |
|
| 307 |
#. type: IX |
| 308 |
#: archlinux debian-trixie debian-unstable |
| 309 |
#, no-wrap |
| 310 |
msgid "COPYRIGHT" |
| 311 |
msgstr "" |
| 312 |
|
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-trixie debian-unstable |
| 315 |
msgid "Copyright 2000-2026 The OpenSSL Project Authors. All Rights Reserved." |
| 316 |
msgstr "" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable |
| 320 |
msgid "" |
| 321 |
"Licensed under the Apache License 2.0 (the \"License\"). You may not use " |
| 322 |
"this file except in compliance with the License. You can obtain a copy in " |
| 323 |
"the file LICENSE in the source distribution or at E<lt>https://" |
| 324 |
"www.openssl.org/source/license.htmlE<gt>." |
| 325 |
msgstr "" |
| 326 |
|
| 327 |
#. ======================================================================== |
| 328 |
#. type: IX |
| 329 |
#: debian-trixie debian-unstable |
| 330 |
#, no-wrap |
| 331 |
msgid "BIO_READ 3SSL" |
| 332 |
msgstr "" |
| 333 |
|
| 334 |
#. type: TH |
| 335 |
#: debian-trixie |
| 336 |
#, no-wrap |
| 337 |
msgid "3.5.6" |
| 338 |
msgstr "" |
| 339 |
|
| 340 |
#. type: Plain text |
| 341 |
#: debian-trixie debian-unstable |
| 342 |
msgid "" |
| 343 |
"\\&B<BIO_gets()> performs the BIOs \"gets\" operation and places the data in " |
| 344 |
"I<buf>. Usually this operation will attempt to read a line of data from the " |
| 345 |
"BIO of maximum length I<size-1>. There are exceptions to this, however; for " |
| 346 |
"example, B<BIO_gets()> on a digest BIO will calculate and return the digest " |
| 347 |
"and other BIOs may not support B<BIO_gets()> at all. The returned string is " |
| 348 |
"always NUL-terminated and the '\\en' is preserved if present in the input " |
| 349 |
"data. On binary input there may be NUL characters within the string; in " |
| 350 |
"this case the return value (if nonnegative) may give an incorrect length." |
| 351 |
msgstr "" |
| 352 |
|
| 353 |
#. type: Plain text |
| 354 |
#: debian-trixie debian-unstable |
| 355 |
msgid "" |
| 356 |
"\\&B<BIO_get_line()> attempts to read from BIO I<b> a line of data up to the " |
| 357 |
"next '\\en' or the maximum length I<size-1> is reached and places the data " |
| 358 |
"in I<buf>. The returned string is always NUL-terminated and the '\\en' is " |
| 359 |
"preserved if present in the input data. On binary input there may be NUL " |
| 360 |
"characters within the string; in this case the return value (if nonnegative) " |
| 361 |
"gives the actual length read. For implementing this, unfortunately the data " |
| 362 |
"needs to be read byte-by-byte." |
| 363 |
msgstr "" |
| 364 |
|
| 365 |
#. type: Plain text |
| 366 |
#: debian-trixie debian-unstable |
| 367 |
msgid "" |
| 368 |
"\\&B<BIO_puts()> attempts to write a NUL-terminated string I<buf> to BIO " |
| 369 |
"I<b>, without the terminating NUL byte and without appending '\\en' (so, " |
| 370 |
"similar to B<fputs>\\|(3), and not B<puts>\\|(3))." |
| 371 |
msgstr "" |
| 372 |
|
| 373 |
#. type: Plain text |
| 374 |
#: debian-trixie debian-unstable |
| 375 |
msgid "" |
| 376 |
"\\&B<BIO_gets()> on 1.1.0 and older when called on B<BIO_fd()> based BIO did " |
| 377 |
"not keep the '\\en' at the end of the line in the buffer." |
| 378 |
msgstr "" |