summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-08-30 13:56:10 -0600
committerKarl Williamson <khw@cpan.org>2019-09-02 21:52:11 -0600
commitdf641d45a268b08d7dc0e486d67cf7f441b065ed (patch)
treeccb57446446f22c58cb8dc7df953e172cffa2579 /util.c
parentfa39cb42a340b9e45c1ee9b87bf1bd69f8b8ba85 (diff)
downloadperl-df641d45a268b08d7dc0e486d67cf7f441b065ed.tar.gz
Document my_setenv()
Diffstat (limited to 'util.c')
-rw-r--r--util.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/util.c b/util.c
index dc2e1bd489..164326c6b4 100644
--- a/util.c
+++ b/util.c
@@ -2103,6 +2103,15 @@ S_env_alloc(void *current, Size_t l1, Size_t l2, Size_t l3, Size_t size)
# if !defined(WIN32) && !defined(NETWARE)
+/*
+=for apidoc my_setenv
+
+A wrapper for the C library L<setenv(3)>. Don't use the latter, as the perl
+version has desirable safeguards
+
+=cut
+*/
+
void
Perl_my_setenv(pTHX_ const char *nam, const char *val)
{