git: libc: Add a clearenv() function.
Sascha Wildner
swildner at crater.dragonflybsd.org
Thu Dec 23 09:33:41 PST 2021
commit 7307c47676255189131ef8c0756ab8f61836c585
Author: Sascha Wildner <saw at online.de>
Date: Thu Dec 23 18:33:17 2021 +0100
libc: Add a clearenv() function.
Seems useful for dports, as pointed out by zrj.
Taken-from: FreeBSD
Summary of changes:
include/stdlib.h | 1 +
lib/libc/stdlib/Makefile.inc | 3 ++-
lib/libc/stdlib/Symbol.map | 4 ++++
lib/libc/stdlib/getenv.3 | 22 ++++++++++++++++++++--
lib/libc/stdlib/getenv.c | 25 +++++++++++++++++++++++++
5 files changed, 52 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7307c47676255189131ef8c0756ab8f61836c585
--
DragonFly BSD source repository
More information about the Commits
mailing list