# 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_s_file.3ssl.pot (PACKAGE VERSION) #-#-#-#-# # #. #-#-#-#-# archlinux: BIO_s_file.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. Required to disable full justification in groff 1.23.0. #. ======================================================================== #. type: IX #. #-#-#-#-# debian-trixie: BIO_s_file.3ssl.pot (PACKAGE VERSION) #-#-#-#-# #. ======================================================================== #. type: IX #. #-#-#-#-# debian-unstable: BIO_s_file.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_S_FILE 3ssl" msgstr "" #. type: TH #: archlinux debian-trixie debian-unstable #, no-wrap msgid "BIO_S_FILE" 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_s_file, BIO_new_file, BIO_new_fp, BIO_set_fp, BIO_get_fp, " "BIO_read_filename, BIO_write_filename, BIO_append_filename, BIO_rw_filename " "- FILE bio" 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" "\\& const BIO_METHOD *BIO_s_file(void);\n" "\\& BIO *BIO_new_file(const char *filename, const char *mode);\n" "\\& BIO *BIO_new_fp(FILE *stream, int flags);\n" "\\&\n" "\\& BIO_set_fp(BIO *b, FILE *fp, int flags);\n" "\\& BIO_get_fp(BIO *b, FILE **fpp);\n" "\\&\n" "\\& int BIO_read_filename(BIO *b, char *name);\n" "\\& int BIO_write_filename(BIO *b, char *name);\n" "\\& int BIO_append_filename(BIO *b, char *name);\n" "\\& int BIO_rw_filename(BIO *b, char *name);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the BIO file method. As its name implies it is a " "wrapper round the stdio FILE structure and it is a source/sink BIO." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Calls to B and B read and write data to the " "underlying stream. B and B are supported on file " "BIOs." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B on a file BIO calls the B function on the " "wrapped stream." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B attempts to change the file pointer to the start of file " "using fseek(stream, 0, 0)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the file pointer to position B from start of file " "using fseek(stream, ofs, 0)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B calls B." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Setting the BIO_CLOSE flag calls B on the stream when the BIO is " "freed." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B creates a new file BIO with mode B the meaning of " "B is the same as the stdio function B. The BIO_CLOSE flag is " "set on the returned BIO." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B creates a file BIO wrapping B. Flags can be: " "BIO_CLOSE, BIO_NOCLOSE (the close flag) BIO_FP_TEXT (sets the underlying " "stream to text mode, default is binary: this only has any effect under " "Win32)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B sets the fp of a file BIO to B. B has the same " "meaning as in B, it is a macro." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B retrieves the fp of a file BIO, it is a macro." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B is a macro that sets the position pointer to B " "bytes from the start of file." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B returns the value of the position pointer." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, B " "and \\&B set the file BIO B to use file B for " "reading, writing, append or read write respectively." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "NOTES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "When wrapping stdout, stdin or stderr the underlying stream should not " "normally be closed so the BIO_NOCLOSE flag should be set." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "Because the file BIO calls the underlying stdio functions any quirks in " "stdio behaviour will be mirrored by the corresponding BIO." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "On Windows BIO_new_files reserves for the filename argument to be UTF-8 " "encoded. In other words if you have to make it work in multi- lingual " "environment, encode filenames in UTF-8." 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 the file BIO method." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B return a file BIO or NULL if an " "error occurred." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B return 1 for success or E=0 for " "failure (although the current implementation never return 0)." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "\\&B returns 0 for success or negative values for failure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B returns the current file position or negative values for " "failure." msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B, B, B " "and \\&B return 1 for success or E=0 for failure. An " "error is also returned if the file does not exist." msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "EXAMPLES" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "File BIO \"hello world\":" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& BIO *bio_out;\n" "\\&\n" "\\& bio_out = BIO_new_fp(stdout, BIO_NOCLOSE);\n" "\\& BIO_printf(bio_out, \"Hello World\\en\");\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Alternative technique:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& BIO *bio_out;\n" "\\&\n" "\\& bio_out = BIO_new(BIO_s_file());\n" "\\& if (bio_out == NULL)\n" "\\& /* Error */\n" "\\& if (BIO_set_fp(bio_out, stdout, BIO_NOCLOSE) E= 0)\n" "\\& /* Error */\n" "\\& BIO_printf(bio_out, \"Hello World\\en\");\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Write to a file:" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& BIO *out;\n" "\\&\n" "\\& out = BIO_new_file(\"filename.txt\", \"w\");\n" "\\& if (!out)\n" "\\& /* Error */\n" "\\& BIO_printf(out, \"Hello World\\en\");\n" "\\& BIO_free(out);\n" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable #, no-wrap msgid "" "\\& BIO *out;\n" "\\&\n" "\\& out = BIO_new(BIO_s_file());\n" "\\& if (out == NULL)\n" "\\& /* Error */\n" "\\& if (BIO_write_filename(out, \"filename.txt\") E= 0)\n" "\\& /* Error */\n" "\\& BIO_printf(out, \"Hello World\\en\");\n" "\\& BIO_free(out);\n" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "BUGS" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "" "\\&B and B are implemented using B on the " "underlying stream. The return value for B is 0 for success or -1 if " "an error occurred this differs from other types of BIO which will typically " "return 1 for success and a non positive value if an error occurred." 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), B\\|(3), \\&B\\|(3), " "B\\|(3), \\&B\\|(3), \\&B\\|(3), " "B\\|(3), \\&B\\|(3), B\\|(3), " "\\&B\\|(3), B\\|(3)" msgstr "" #. type: IX #: archlinux debian-trixie debian-unstable #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: archlinux debian-trixie debian-unstable msgid "Copyright 2000-2020 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_S_FILE 3SSL" msgstr "" #. type: TH #: debian-trixie #, no-wrap msgid "3.5.6" msgstr ""