VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.1/doc/man3/BIO_printf.pod@ 94081

最後變更 在這個檔案從94081是 91772,由 vboxsync 提交於 3 年 前

openssl-1.1.1l: Applied and adjusted our OpenSSL changes to 1.1.1l. bugref:10126

檔案大小: 1.6 KB
 
1=pod
2
3=head1 NAME
4
5BIO_printf, BIO_vprintf, BIO_snprintf, BIO_vsnprintf
6- formatted output to a BIO
7
8=head1 SYNOPSIS
9
10 #include <openssl/bio.h>
11
12 int BIO_printf(BIO *bio, const char *format, ...)
13 int BIO_vprintf(BIO *bio, const char *format, va_list args)
14
15 int BIO_snprintf(char *buf, size_t n, const char *format, ...)
16 int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
17
18=head1 DESCRIPTION
19
20BIO_printf() is similar to the standard C printf() function, except that
21the output is sent to the specified BIO, B<bio>, rather than standard
22output. All common format specifiers are supported.
23
24BIO_vprintf() is similar to the vprintf() function found on many platforms,
25the output is sent to the specified BIO, B<bio>, rather than standard
26output. All common format specifiers are supported. The argument
27list B<args> is a stdarg argument list.
28
29BIO_snprintf() is for platforms that do not have the common snprintf()
30function. It is like sprintf() except that the size parameter, B<n>,
31specifies the size of the output buffer.
32
33BIO_vsnprintf() is to BIO_snprintf() as BIO_vprintf() is to BIO_printf().
34
35=head1 RETURN VALUES
36
37All functions return the number of bytes written, or -1 on error.
38For BIO_snprintf() and BIO_vsnprintf() this includes when the output
39buffer is too small.
40
41=head1 COPYRIGHT
42
43Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
44
45Licensed under the OpenSSL license (the "License"). You may not use
46this file except in compliance with the License. You can obtain a copy
47in the file LICENSE in the source distribution or at
48L<https://www.openssl.org/source/license.html>.
49
50=cut
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette