Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include
File: envz.h
/* Routines for dealing with '\0' separated environment vectors
[0] Fix | Delete
Copyright (C) 1995-2018 Free Software Foundation, Inc.
[1] Fix | Delete
This file is part of the GNU C Library.
[2] Fix | Delete
[3] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[4] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[5] Fix | Delete
License as published by the Free Software Foundation; either
[6] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[7] Fix | Delete
[8] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[9] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[10] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[11] Fix | Delete
Lesser General Public License for more details.
[12] Fix | Delete
[13] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[14] Fix | Delete
License along with the GNU C Library; if not, see
[15] Fix | Delete
<http://www.gnu.org/licenses/>. */
[16] Fix | Delete
[17] Fix | Delete
#ifndef _ENVZ_H
[18] Fix | Delete
#define _ENVZ_H 1
[19] Fix | Delete
[20] Fix | Delete
#include <features.h>
[21] Fix | Delete
[22] Fix | Delete
#include <errno.h>
[23] Fix | Delete
[24] Fix | Delete
/* Envz's are argz's too, and should be created etc., using the same
[25] Fix | Delete
routines. */
[26] Fix | Delete
#include <argz.h>
[27] Fix | Delete
[28] Fix | Delete
__BEGIN_DECLS
[29] Fix | Delete
[30] Fix | Delete
/* Returns a pointer to the entry in ENVZ for NAME, or 0 if there is none. */
[31] Fix | Delete
extern char *envz_entry (const char *__restrict __envz, size_t __envz_len,
[32] Fix | Delete
const char *__restrict __name)
[33] Fix | Delete
__THROW __attribute_pure__;
[34] Fix | Delete
[35] Fix | Delete
/* Returns a pointer to the value portion of the entry in ENVZ for NAME, or 0
[36] Fix | Delete
if there is none. */
[37] Fix | Delete
extern char *envz_get (const char *__restrict __envz, size_t __envz_len,
[38] Fix | Delete
const char *__restrict __name)
[39] Fix | Delete
__THROW __attribute_pure__;
[40] Fix | Delete
[41] Fix | Delete
/* Adds an entry for NAME with value VALUE to ENVZ & ENVZ_LEN. If an entry
[42] Fix | Delete
with the same name already exists in ENVZ, it is removed. If VALUE is
[43] Fix | Delete
NULL, then the new entry will a special null one, for which envz_get will
[44] Fix | Delete
return NULL, although envz_entry will still return an entry; this is handy
[45] Fix | Delete
because when merging with another envz, the null entry can override an
[46] Fix | Delete
entry in the other one. Null entries can be removed with envz_strip (). */
[47] Fix | Delete
extern error_t envz_add (char **__restrict __envz,
[48] Fix | Delete
size_t *__restrict __envz_len,
[49] Fix | Delete
const char *__restrict __name,
[50] Fix | Delete
const char *__restrict __value) __THROW;
[51] Fix | Delete
[52] Fix | Delete
/* Adds each entry in ENVZ2 to ENVZ & ENVZ_LEN, as if with envz_add(). If
[53] Fix | Delete
OVERRIDE is true, then values in ENVZ2 will supersede those with the same
[54] Fix | Delete
name in ENV, otherwise not. */
[55] Fix | Delete
extern error_t envz_merge (char **__restrict __envz,
[56] Fix | Delete
size_t *__restrict __envz_len,
[57] Fix | Delete
const char *__restrict __envz2,
[58] Fix | Delete
size_t __envz2_len, int __override) __THROW;
[59] Fix | Delete
[60] Fix | Delete
/* Remove the entry for NAME from ENVZ & ENVZ_LEN, if any. */
[61] Fix | Delete
extern void envz_remove (char **__restrict __envz,
[62] Fix | Delete
size_t *__restrict __envz_len,
[63] Fix | Delete
const char *__restrict __name) __THROW;
[64] Fix | Delete
[65] Fix | Delete
/* Remove null entries. */
[66] Fix | Delete
extern void envz_strip (char **__restrict __envz,
[67] Fix | Delete
size_t *__restrict __envz_len) __THROW;
[68] Fix | Delete
[69] Fix | Delete
__END_DECLS
[70] Fix | Delete
[71] Fix | Delete
#endif /* envz.h */
[72] Fix | Delete
[73] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function