-/* Copyright (C) 2008, 2011 Free Software Foundation, Inc.
+/* Copyright (C) 2008-2022 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
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, see
- <http://www.gnu.org/licenses/>. */
+ <https://www.gnu.org/licenses/>. */
#include <errno.h>
#include <fcntl.h>
open the same file as FD is which setting flags according to
FLAGS. Return FD2 or -1. */
int
-__dup3 (fd, fd2, flags)
- int fd;
- int fd2;
- int flags;
+__dup3 (int fd, int fd2, int flags)
{
if (fd < 0 || fd2 < 0)
{