Loading...
--- Libc/Libc-391.5.18/include/vis.h
+++ Libc/Libc-262.2.12/include/vis.h
@@ -2,6 +2,8 @@
* Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
+ *
+ * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
@@ -58,18 +60,11 @@
#ifndef _VIS_H_
#define _VIS_H_
-#include <_types.h>
-
-#ifndef _SIZE_T
-#define _SIZE_T
-typedef __darwin_size_t size_t;
-#endif
-
/*
* to select alternate encoding format
*/
#define VIS_OCTAL 0x01 /* use octal \ddd format */
-#define VIS_CSTYLE 0x02 /* use \[nrft0..] where appropriate */
+#define VIS_CSTYLE 0x02 /* use \[nrft0..] where appropiate */
/*
* to alter set of characters encoded (default is to encode all
@@ -85,8 +80,6 @@
* other
*/
#define VIS_NOSLASH 0x40 /* inhibit printing '\' */
-#define VIS_HTTPSTYLE 0x80 /* http-style escape % HEX HEX */
-#define VIS_GLOB 0x100 /* encode glob(3) magics */
/*
* unvis return codes
@@ -105,12 +98,11 @@
#include <sys/cdefs.h>
__BEGIN_DECLS
-char *vis(char *, int, int, int);
-int strvis(char *, const char *, int);
-int strvisx(char *, const char *, size_t, int);
-int strunvis(char *, const char *);
-int strunvisx(char *, const char *, int);
-int unvis(char *, int, int *, int);
+char *vis __P((char *, int, int, int));
+int strvis __P((char *, const char *, int));
+int strvisx __P((char *, const char *, size_t, int));
+int strunvis __P((char *, const char *));
+int unvis __P((char *, int, int *, int));
__END_DECLS
#endif /* !_VIS_H_ */