[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/build/uClibc/libc/misc/internals/tempname.h b/ap/build/uClibc/libc/misc/internals/tempname.h
new file mode 100644
index 0000000..e75b632
--- /dev/null
+++ b/ap/build/uClibc/libc/misc/internals/tempname.h
@@ -0,0 +1,21 @@
+#ifndef __TEMPNAME_H__
+#define __TEMPNAME_H__
+
+#define __need_size_t
+#include <stddef.h>
+#include <sys/types.h>
+
+/* Disable support for $TMPDIR */
+extern int ___path_search (char *tmpl, size_t tmpl_len, const char *dir,
+ const char *pfx /*, int try_tmpdir */) attribute_hidden;
+#define __path_search(tmpl, tmpl_len, dir, pfx, try_tmpdir) ___path_search(tmpl, tmpl_len, dir, pfx)
+
+extern int __gen_tempname (char *__tmpl, int __kind, mode_t mode) attribute_hidden;
+
+/* The __kind argument to __gen_tempname may be one of: */
+#define __GT_FILE 0 /* create a file */
+#define __GT_BIGFILE 1 /* create a file, using open64 */
+#define __GT_DIR 2 /* create a directory */
+#define __GT_NOCREATE 3 /* just find a name not currently in use */
+
+#endif