[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/libc/glibc/glibc-2.22/include/fcntl.h b/ap/libc/glibc/glibc-2.22/include/fcntl.h
new file mode 100644
index 0000000..de23728
--- /dev/null
+++ b/ap/libc/glibc/glibc-2.22/include/fcntl.h
@@ -0,0 +1,41 @@
+#ifndef _FCNTL_H
+#include <io/fcntl.h>
+
+#ifndef _ISOMAC
+/* Now define the internal interfaces.  */
+extern int __open64 (const char *__file, int __oflag, ...);
+libc_hidden_proto (__open64)
+extern int __libc_open64 (const char *file, int oflag, ...);
+extern int __libc_open (const char *file, int oflag, ...);
+libc_hidden_proto (__libc_open)
+extern int __libc_fcntl (int fd, int cmd, ...);
+#ifndef NO_CANCELLATION
+extern int __fcntl_nocancel (int fd, int cmd, ...) attribute_hidden;
+libc_hidden_proto (__libc_fcntl)
+#endif
+extern int __open (const char *__file, int __oflag, ...);
+libc_hidden_proto (__open)
+extern int __fcntl (int __fd, int __cmd, ...);
+libc_hidden_proto (__fcntl)
+extern int __openat (int __fd, const char *__file, int __oflag, ...)
+  __nonnull ((2));
+libc_hidden_proto (__openat)
+extern int __openat64 (int __fd, const char *__file, int __oflag, ...)
+  __nonnull ((2));
+libc_hidden_proto (__openat64)
+
+extern int __open_2 (const char *__path, int __oflag);
+extern int __open64_2 (const char *__path, int __oflag);
+extern int __openat_2 (int __fd, const char *__path, int __oflag);
+extern int __openat64_2 (int __fd, const char *__path, int __oflag);
+
+
+/* Flag determining whether the *at system calls are available.  */
+extern int __have_atfcts attribute_hidden;
+
+#ifdef O_CLOEXEC
+extern int __have_o_cloexec attribute_hidden;
+#endif
+#endif
+
+#endif