]>
git.saurik.com Git - apple/libc.git/blob - include/wordexp.h
2 * Copyright 1994, University Corporation for Atmospheric Research
3 * See ../COPYRIGHT file for copying and redistribution conditions.
6 * Reproduction of ../COPYRIGHT file:
8 *********************************************************************
10 Copyright 1995-2002 University Corporation for Atmospheric Research/Unidata
12 Portions of this software were developed by the Unidata Program at the
13 University Corporation for Atmospheric Research.
15 Access and use of this software shall impose the following obligations
16 and understandings on the user. The user is granted the right, without
17 any fee or cost, to use, copy, modify, alter, enhance and distribute
18 this software, and any derivative works thereof, and its supporting
19 documentation for any purpose whatsoever, provided that this entire
20 notice appears in all copies of the software, derivative works and
21 supporting documentation. Further, UCAR requests that the user credit
22 UCAR/Unidata in any publications that result from the use of this
23 software or in any product that includes this software. The names UCAR
24 and/or Unidata, however, may not be used in any advertising or publicity
25 to endorse or promote any products or commercial entity unless specific
26 written permission is obtained from UCAR/Unidata. The user also
27 understands that UCAR/Unidata is not obligated to provide the user with
28 any support, consulting, training or assistance of any kind with regard
29 to the use, operation and performance of this software nor to provide
30 the user with any updates, revisions, new versions or "bug fixes."
32 THIS SOFTWARE IS PROVIDED BY UCAR/UNIDATA "AS IS" AND ANY EXPRESS OR
33 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
34 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
35 DISCLAIMED. IN NO EVENT SHALL UCAR/UNIDATA BE LIABLE FOR ANY SPECIAL,
36 INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
37 FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
38 NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
39 WITH THE ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE.
41 *********************************************************************
45 /* $Id: wordexp.h,v 1.5 1994/05/12 20:46:40 davis Exp $ */
49 #include <sys/cdefs.h>
54 typedef __darwin_size_t
size_t;
63 /* wordexp() flags Argument */
64 #define WRDE_APPEND 0x01
65 #define WRDE_DOOFFS 0x02
66 #define WRDE_NOCMD 0x04
67 #define WRDE_REUSE 0x08
68 #define WRDE_SHOWERR 0x10
69 #define WRDE_UNDEF 0x20
72 * wordexp() Return Values
75 #define WRDE_BADCHAR 1
78 #define WRDE_NOSPACE 4
84 int wordexp(const char * __restrict
, wordexp_t
* __restrict
, int);
85 void wordfree(wordexp_t
*);
88 #endif /* _WORDEXP_H */