Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove documentation regarding pkg_utstring*
Baptiste Daroussin committed 5 years ago
commit fda137810a0d22913dba6fc87cededd04c702dfe
parent 62d284e
1 file changed +4 -21
modified docs/pkg_printf.3
@@ -30,14 +30,12 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-
.Dd August 15, 2015
+
.Dd October 20, 2015
.Dt PKG_PRINTF 3
.Os
.Sh NAME
.Nm pkg_printf , pkg_fprintf , pkg_dprintf , pkg_snprintf , pkg_asprintf ,
-
.Nm pkg_utstring_printf ,
-
.Nm pkg_vprintf , pkg_vfprintf , pkg_vdprintf , pkg_vsnprintf , pkg_vasprintf ,
-
.Nm pkg_utstring_vprintf
+
.Nm pkg_vprintf , pkg_vfprintf , pkg_vdprintf , pkg_vsnprintf , pkg_vasprintf
.Nd formatted output of package data
.Sh LIBRARY
.Lb libpkg
@@ -53,8 +51,6 @@
.Fn pkg_snprintf "char * restrict str" "size_t size" "const char * restrict format" ...
.Ft int
.Fn pkg_asprintf "char **ret" "const char * restrict format" ...
-
.Ft struct utstring *
-
.Fn pkg_utstring_printf "struct utstring * restrict utstring" "const char * restrict format" ...
.In stdarg.h
.Ft int
.Fn pkg_vprintf "const char * restrict format" "va_list ap"
@@ -66,8 +62,6 @@
.Fn pkg_vsnprintf "char * restrict str" "size_t size" "const char * restrict format" "va_list ap"
.Ft int
.Fn pkg_vasprintf "char **ret" "const char * restrict format" "va_list ap"
-
.Ft struct utstring *
-
.Fn pkg_utstring_vprintf "struct utstring * restrict utstring" "const char * restrict format" "va_list ap"
.Sh DESCRIPTION
The
.Fn pkg_printf
@@ -103,11 +97,7 @@ and
.Fn pkg_vasprintf
dynamically allocate a new string with
.Xr malloc 3
-
to write to;
-
.Fn pkg_utstring_printf
-
and
-
.Fn pkg_utstring_vprintf
-
write to the given utstring structure.
+
to write to.
.Pp
These functions write the output under the control of a
.Fa format
@@ -128,14 +118,7 @@ which return the number of characters that would have been printed if the
.Fa size
were unlimited
(again, not including the final
-
.Ql \e0 )
-
and the two functions
-
.Fn pkg_utstring_printf
-
and
-
.Fn pkg_utstring_vprintf
-
which return the given utstring pointer, or
-
.Dv NULL
-
in the case of errors.
+
.Ql \e0 ) .
.Pp
The
.Fn pkg_asprintf