Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include
File: wordexp.h
/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _WORDEXP_H
[17] Fix | Delete
#define _WORDEXP_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <features.h>
[20] Fix | Delete
#define __need_size_t
[21] Fix | Delete
#include <stddef.h>
[22] Fix | Delete
[23] Fix | Delete
__BEGIN_DECLS
[24] Fix | Delete
[25] Fix | Delete
/* Bits set in the FLAGS argument to `wordexp'. */
[26] Fix | Delete
enum
[27] Fix | Delete
{
[28] Fix | Delete
WRDE_DOOFFS = (1 << 0), /* Insert PWORDEXP->we_offs NULLs. */
[29] Fix | Delete
WRDE_APPEND = (1 << 1), /* Append to results of a previous call. */
[30] Fix | Delete
WRDE_NOCMD = (1 << 2), /* Don't do command substitution. */
[31] Fix | Delete
WRDE_REUSE = (1 << 3), /* Reuse storage in PWORDEXP. */
[32] Fix | Delete
WRDE_SHOWERR = (1 << 4), /* Don't redirect stderr to /dev/null. */
[33] Fix | Delete
WRDE_UNDEF = (1 << 5), /* Error for expanding undefined variables. */
[34] Fix | Delete
__WRDE_FLAGS = (WRDE_DOOFFS | WRDE_APPEND | WRDE_NOCMD |
[35] Fix | Delete
WRDE_REUSE | WRDE_SHOWERR | WRDE_UNDEF)
[36] Fix | Delete
};
[37] Fix | Delete
[38] Fix | Delete
/* Structure describing a word-expansion run. */
[39] Fix | Delete
typedef struct
[40] Fix | Delete
{
[41] Fix | Delete
size_t we_wordc; /* Count of words matched. */
[42] Fix | Delete
char **we_wordv; /* List of expanded words. */
[43] Fix | Delete
size_t we_offs; /* Slots to reserve in `we_wordv'. */
[44] Fix | Delete
} wordexp_t;
[45] Fix | Delete
[46] Fix | Delete
/* Possible nonzero return values from `wordexp'. */
[47] Fix | Delete
enum
[48] Fix | Delete
{
[49] Fix | Delete
#ifdef __USE_XOPEN
[50] Fix | Delete
WRDE_NOSYS = -1, /* Never used since we support `wordexp'. */
[51] Fix | Delete
#endif
[52] Fix | Delete
WRDE_NOSPACE = 1, /* Ran out of memory. */
[53] Fix | Delete
WRDE_BADCHAR, /* A metachar appears in the wrong place. */
[54] Fix | Delete
WRDE_BADVAL, /* Undefined var reference with WRDE_UNDEF. */
[55] Fix | Delete
WRDE_CMDSUB, /* Command substitution with WRDE_NOCMD. */
[56] Fix | Delete
WRDE_SYNTAX /* Shell syntax error. */
[57] Fix | Delete
};
[58] Fix | Delete
[59] Fix | Delete
/* Do word expansion of WORDS into PWORDEXP. */
[60] Fix | Delete
extern int wordexp (const char *__restrict __words,
[61] Fix | Delete
wordexp_t *__restrict __pwordexp, int __flags);
[62] Fix | Delete
[63] Fix | Delete
/* Free the storage allocated by a `wordexp' call. */
[64] Fix | Delete
extern void wordfree (wordexp_t *__wordexp) __THROW;
[65] Fix | Delete
[66] Fix | Delete
__END_DECLS
[67] Fix | Delete
[68] Fix | Delete
#endif /* wordexp.h */
[69] Fix | Delete
[70] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function