]> git.saurik.com Git - apple/libc.git/blobdiff - include/wordexp.h
Libc-1272.200.26.tar.gz
[apple/libc.git] / include / wordexp.h
index 28a49997d0876f1defedf2f01f57f22eaa8fc5c0..705b15c4e1d94fe53376b7d0b9285c8bf7f58b89 100644 (file)
@@ -42,17 +42,14 @@ WITH THE ACCESS, USE OR PERFORMANCE OF THIS SOFTWARE.
  *
  */
 
-/* $Id: wordexp.h,v 1.4 2004/11/25 19:38:10 emoy Exp $ */
+/* $Id: wordexp.h,v 1.5 1994/05/12 20:46:40 davis Exp $ */
 #ifndef _WORDEXP_H
 #define _WORDEXP_H
 
 #include <sys/cdefs.h>
 #include <_types.h>
-
-#ifndef        _SIZE_T
-#define        _SIZE_T
-typedef        __darwin_size_t         size_t;
-#endif
+#include <sys/_types/_size_t.h>
+#include <Availability.h>
 
 typedef struct {
        size_t we_wordc;
@@ -75,14 +72,14 @@ typedef struct {
 #define WRDE_BADCHAR   1
 #define WRDE_BADVAL    2
 #define WRDE_CMDSUB    3
-#define WRDE_NOSPACE   4 
-#define WRDE_NOYS      5 
+#define WRDE_NOSPACE   4
+#define WRDE_NOSYS     5
 #define WRDE_SYNTAX    6
 
 
 __BEGIN_DECLS
-int wordexp(const char *words, wordexp_t *pwordexp, int flags);
-void wordfree(wordexp_t *pwordexp);
+int wordexp(const char * __restrict, wordexp_t * __restrict, int) __OSX_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_NA);
+void wordfree(wordexp_t *) __OSX_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_NA);
 __END_DECLS
 
 #endif  /* _WORDEXP_H */