Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / include / envz.h
blobe6a31c31d65574e5ba592608a9122d1386e90017
1 /* Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved.
3 * Permission to use, copy, modify, and distribute this software
4 * is freely granted, provided that this notice is preserved.
5 */
7 #include <errno.h>
8 #include <sys/types.h>
10 /* The newlib implementation of these functions assumes that sizeof(char) == 1. */
11 char * envz_entry (const char *envz, size_t envz_len, const char *name);
12 char * envz_get (const char *envz, size_t envz_len, const char *name);
13 error_t envz_add (char **envz, size_t *envz_len, const char *name, const char *value);
14 error_t envz_merge (char **envz, size_t *envz_len, const char *envz2, size_t envz2_len, int override);
15 void envz_remove(char **envz, size_t *envz_len, const char *name);
16 void envz_strip (char **envz, size_t *envz_len);