diff options
author | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-03-23 21:19:56 +0100 |
---|---|---|
committer | Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de> | 2016-03-23 21:51:55 +0100 |
commit | 271019bd0730f90f81d44ea0946707588df242d6 (patch) | |
tree | 70b2ae1fd7cccf693df9e1f42c4f8e3f63a5c51f /src/OS/os.c-BSDI | |
parent | eac732adbd59b15f10f4db14414dd1405b488e65 (diff) |
Add os_unsetenv()
BSDI: void unsetenv(const char*)
Other: int unsetenv(const char*)
Diffstat (limited to 'src/OS/os.c-BSDI')
-rw-r--r-- | src/OS/os.c-BSDI | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/OS/os.c-BSDI b/src/OS/os.c-BSDI new file mode 100644 index 000000000..43e5bb147 --- /dev/null +++ b/src/OS/os.c-BSDI @@ -0,0 +1,19 @@ +/************************************************* +* Exim - an Internet mail transport agent * +*************************************************/ + +/* Copyright (c) 2016 Heiko Schlittermann <hs@schlittermann.de> */ +/* See the file NOTICE for conditions of use and distribution. */ + +/* BSDI-specific code. This is concatenated onto the generic +src/os.c file. */ + +#ifndef OS_UNSETENV +#define OS_UNSETENV + +int +os_unsetenv(const char *name) +{ + unsetenv(name); + return 0; +} |