# SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2026-06-05 06:19+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" # #-#-#-#-# archlinux: BIO_read.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: BIO_read.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: BIO_read.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: BIO_read.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Title" msgstr "" # #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #: archlinux #, no-wrap msgid "BIO_READ 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "BIO_READ" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "2026-04-07" msgstr "" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "3.6.2" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "OpenSSL" msgstr "" #. type: SH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "BIO_read_ex, BIO_write_ex, BIO_read, BIO_write, BIO_gets, BIO_get_line, " "BIO_puts \\&- BIO I/O functions" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "Header" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& #include Eopenssl/bio.hE\n" "\\&\n" "\\& int BIO_read_ex(BIO *b, void *data, size_t dlen, size_t *readbytes);\n" "\\& int BIO_write_ex(BIO *b, const void *data, size_t dlen, size_t *written);\n" "\\&\n" "\\& int BIO_read(BIO *b, void *data, int dlen);\n" "\\& int BIO_gets(BIO *b, char *buf, int size);\n" "\\& int BIO_get_line(BIO *b, char *buf, int size);\n" "\\& int BIO_write(BIO *b, const void *data, int dlen);\n" "\\& int BIO_puts(BIO *b, const char *buf);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B attempts to read I bytes from BIO I and places " "the data in I. If any bytes were successfully read then the number of " "bytes read is stored in I<*readbytes>." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B attempts to write I bytes from I to BIO " "I. If successful then the number of bytes written is stored in " "I<*written> unless I is NULL." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B attempts to read I bytes from BIO I and places the " "data in I." msgstr "" #. type: Plain text #: archlinux msgid "" "\\&B performs the BIOs \"gets\" operation and places the data in " "I. Usually this operation will attempt to read a line of data from the " "BIO of maximum length I. There are exceptions to this, however; for " "example, B on a digest BIO will calculate and return the digest " "and other BIOs may not support B at all. The returned string is " "always NUL-terminated and the \\*(Aq\\en\\*(Aq is preserved if present in " "the input data. On binary input there may be NUL characters within the " "string; in this case the return value (if nonnegative) may give an incorrect " "length." msgstr "" #. type: Plain text #: archlinux msgid "" "\\&B attempts to read from BIO I a line of data up to the " "next \\*(Aq\\en\\*(Aq or the maximum length I is reached and places " "the data in I. The returned string is always NUL-terminated and the " "\\*(Aq\\en\\*(Aq is preserved if present in the input data. On binary input " "there may be NUL characters within the string; in this case the return value " "(if nonnegative) gives the actual length read. For implementing this, " "unfortunately the data needs to be read byte-by-byte." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B attempts to write I bytes from I to BIO I." msgstr "" #. type: Plain text #: archlinux msgid "" "\\&B attempts to write a NUL-terminated string I to BIO " "I, without the terminating NUL byte and without appending " "\\*(Aq\\en\\*(Aq (so, similar to B\\|(3), and not B\\|(3))." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "RETURN VALUES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns 1 if data was successfully read, and 0 otherwise." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns 1 if no error was encountered writing data, 0 " "otherwise. Requesting to write 0 bytes is not considered an error." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns -2 if the \"write\" operation is not implemented " "by the BIO or -1 on other errors. Otherwise it returns the number of bytes " "written. This may be 0 if the BIO I is NULL or I= 0>." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns -2 if the \"gets\" operation is not implemented by " "the BIO or -1 on other errors. Otherwise it typically returns the amount of " "data read, but depending on the implementation it may return only the length " "up to the first NUL character contained in the data read. In any case the " "trailing NUL that is added after the data read is not included in the length " "returned." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "All other functions return either the amount of data successfully read or " "written (if the return value is positive) or that no data was successfully " "read or written if the result is 0 or -1. If the return value is -2 then the " "operation is not implemented in the specific BIO type." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "A 0 or -1 return is not necessarily an indication of an error. In particular " "when the source/sink is nonblocking or of a certain type it may merely be an " "indication that no data is currently available and that the application " "should retry the operation later." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "One technique sometimes used with blocking sockets is to use a system call " "(such as B, B or equivalent) to determine when data is " "available and then call B to read the data. The equivalent with BIOs " "(that is call \\&B on the underlying I/O structure and then call " "B to read the data) should B be used because a single call " "to B can cause several reads (and writes in the case of SSL " "BIOs) on the underlying I/O structure and may block as a result. Instead " "B (or equivalent) should be combined with non blocking I/O so " "successive reads will request a retry instead of blocking." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "See B\\|(3) for details of how to determine the cause of a " "retry and other I/O issues." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "If the \"gets\" method is not supported by a BIO then B can " "be used. It is also possible to make B usable even if the " "\"gets\" method is not supported by adding a buffering BIO B\\|" "(3) to the chain." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B\\|(3)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "HISTORY" msgstr "" #. type: Plain text #: archlinux msgid "" "\\&B on 1.1.0 and older when called on B based BIO did " "not keep the \\*(Aq\\en\\*(Aq at the end of the line in the buffer." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B was added in OpenSSL 3.0." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns 1 if the size of the data to write is 0 and the " "\\&I parameter of the function can be NULL since OpenSSL 3.0." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2000-2026 The OpenSSL Project Authors. All Rights Reserved." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Licensed under the Apache License 2.0 (the \"License\"). You may not use " "this file except in compliance with the License. You can obtain a copy in " "the file LICENSE in the source distribution or at Ehttps://" "www.openssl.org/source/license.htmlE." msgstr "" #. ======================================================================== #. type: IX #: debian-trixie debian-unstable #, no-wrap msgid "BIO_READ 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&B performs the BIOs \"gets\" operation and places the data in " "I. Usually this operation will attempt to read a line of data from the " "BIO of maximum length I. There are exceptions to this, however; for " "example, B on a digest BIO will calculate and return the digest " "and other BIOs may not support B at all. The returned string is " "always NUL-terminated and the '\\en' is preserved if present in the input " "data. On binary input there may be NUL characters within the string; in " "this case the return value (if nonnegative) may give an incorrect length." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&B attempts to read from BIO I a line of data up to the " "next '\\en' or the maximum length I is reached and places the data " "in I. The returned string is always NUL-terminated and the '\\en' is " "preserved if present in the input data. On binary input there may be NUL " "characters within the string; in this case the return value (if nonnegative) " "gives the actual length read. For implementing this, unfortunately the data " "needs to be read byte-by-byte." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&B attempts to write a NUL-terminated string I to BIO " "I, without the terminating NUL byte and without appending '\\en' (so, " "similar to B\\|(3), and not B\\|(3))." msgstr "" #. type: Plain text #: debian-trixie debian-unstable msgid "" "\\&B on 1.1.0 and older when called on B based BIO did " "not keep the '\\en' at the end of the line in the buffer." msgstr ""