]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - misc/mkostemp.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / misc / mkostemp.c
index b78554bd014faa92b8c3694f27916a10f8b4bcaa..c990bbd75b7c61b79258502a94cd1dd448443693 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1998, 1999, 2001, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1998-2016 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
    they are replaced with a string that makes the filename unique.
    Then open the file and return a fd. */
 int
-mkostemp (template, flags)
-     char *template;
-     int flags;
+mkostemp (char *template, int flags)
 {
   return __gen_tempname (template, 0, flags, __GT_FILE);
 }
+
+#if !defined O_LARGEFILE || O_LARGEFILE == 0
+weak_alias (mkostemp, mkostemp64)
+#endif