From patchwork Wed Nov 26 12:17:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ma Shimiao X-Patchwork-Id: 3941 Received: (qmail 2935 invoked by alias); 26 Nov 2014 12:17:48 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 2924 invoked by uid 89); 26 Nov 2014 12:17:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: heian.cn.fujitsu.com From: Ma Shimiao To: CC: , Ma Shimiao Subject: [PATCH V2] manual/string.texi: Add description of envz_remove Date: Wed, 26 Nov 2014 20:17:08 +0800 Message-ID: <1417004228-28019-1-git-send-email-mashimiao.fnst@cn.fujitsu.com> MIME-Version: 1.0 Signed-off-by: Ma Shimiao --- manual/string.texi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/manual/string.texi b/manual/string.texi index ba5a2c7..a033d67 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -2782,6 +2782,14 @@ being added to @var{envz}, if @var{override} is false. @comment envz.h @comment GNU +@deftypefun {void} envz_remove (char **@var{envz}, size_t *@var{envz_len}, const char *@var{name}) +@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}} +The @code{envz_remove} function removes an entry from @code{*@var{envz}} with +the name @var{name}, updating @code{*@var{envz}} and @code{*@var{envz_len}}. +@end deftypefun + +@comment envz.h +@comment GNU @deftypefun {void} envz_strip (char **@var{envz}, size_t *@var{envz_len}) @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}} The @code{envz_strip} function removes any null entries from @var{envz},