diff options
author | axtlos <axtlos@disroot.org> | 2024-09-27 21:31:47 +0200 |
---|---|---|
committer | axtlos <axtlos@disroot.org> | 2024-09-27 21:31:47 +0200 |
commit | b2182396df5d99ff5c26161aaffa5ced879742c5 (patch) | |
tree | c848fc157ab55c63b49b063d212c1671fa41afae /doc | |
parent | 7aa261f8d57cb53cc334f6bf1920a6f8517ff054 (diff) | |
download | extlib-b2182396df5d99ff5c26161aaffa5ced879742c5.tar.gz extlib-b2182396df5d99ff5c26161aaffa5ced879742c5.tar.bz2 |
Fix join_str on musl and add manpage
Diffstat (limited to 'doc')
-rw-r--r-- | doc/join_str.3 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/doc/join_str.3 b/doc/join_str.3 new file mode 100644 index 0000000..3c778ae --- /dev/null +++ b/doc/join_str.3 @@ -0,0 +1,35 @@ +'\" t +.\" Copyright 2024 axtlos (axtlos@disroot.org) +.\" +.\" SPDX-License-Identifier: BSD-3-Clause + +.TH trim 3 2024-09-27 "extlib" +.SH NAME +join_str \- join an array of strings seperated by a given delimiter +.SH LIBRARY +extlib extended standard library +.RI ( libextlib ", " \-lextlib ) +.SH SYNOPSIS +.nf +.B #include <extlib.h> +.P +.BI "char *join_str (char **s, size_t len, char *delim);" +.P +.fi +.SH DESCRIPTION +The +.BR join_str () +function joins the first +.I len +elements of +.I **s +into one string where each element of the array is seperated by +.IR *delim . +.fi +.SH RETURN VALUE +.BR join_str () +returns the joined string. +.SH AUTHORS +This manual page was written by Rose +.IR <axtlos@disroot.org> . +.\" SRC END |