diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-02-10 11:55:34 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2020-02-10 12:10:40 +0100 |
| commit | 4c1b92eb52db567b4c1618222bb3007a2a2e7d9b (patch) | |
| tree | 58081f8e02a8d43dc273de033d454c16e9946f28 /FL/fl_utf8.h | |
| parent | dcb848ca3ed0ebddd4f28888d2a8ab2f59c9fd1c (diff) | |
Implement fl_putenv() as cross-platform putenv()
Diffstat (limited to 'FL/fl_utf8.h')
| -rw-r--r-- | FL/fl_utf8.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/FL/fl_utf8.h b/FL/fl_utf8.h index 5f759418a..faa69e7e8 100644 --- a/FL/fl_utf8.h +++ b/FL/fl_utf8.h @@ -3,17 +3,17 @@ * * Author: Jean-Marc Lienher ( http://oksid.ch ) * Copyright 2000-2010 by O'ksi'D. - * Copyright 2016-2018 by Bill Spitzak and others. + * Copyright 2016-2020 by Bill Spitzak and others. * * This library is free software. Distribution and use rights are outlined in * the file "COPYING" which should have been included with this file. If this * file is missing or damaged, see the license at: * - * http://www.fltk.org/COPYING.php + * https://www.fltk.org/COPYING.php * * Please report all bugs and problems on the following page: * - * http://www.fltk.org/str.php + * https://www.fltk.org/str.php */ /* Merged in some functionality from the fltk-2 version. IMM. @@ -191,6 +191,9 @@ FL_EXPORT int fl_rmdir(const char *f); /* OD: Portable UTF-8 aware getenv wrapper */ FL_EXPORT char* fl_getenv(const char *name); +/* Portable UTF-8 aware putenv wrapper */ +FL_EXPORT int fl_putenv(const char *var); + /* OD: Portable UTF-8 aware execvp wrapper */ FL_EXPORT int fl_mkdir(const char* f, int mode); |
