source: trunk/libs/newlib/src/newlib/libc/include/envz.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 781 bytes
Line 
1/* Copyright (C) 2002 by  Red Hat, Incorporated. All rights reserved.
2 *
3 * Permission to use, copy, modify, and distribute this software
4 * is freely granted, provided that this notice is preserved.
5 */
6
7#include <errno.h>
8#include <sys/types.h>
9
10/* The newlib implementation of these functions assumes that sizeof(char) == 1. */
11char * envz_entry (const char *envz, size_t envz_len, const char *name);
12char * envz_get (const char *envz, size_t envz_len, const char *name);
13error_t envz_add (char **envz, size_t *envz_len, const char *name, const char *value);
14error_t envz_merge (char **envz, size_t *envz_len, const char *envz2, size_t envz2_len, int override);
15void envz_remove(char **envz, size_t *envz_len, const char *name);
16void envz_strip (char **envz, size_t *envz_len);
Note: See TracBrowser for help on using the repository browser.