Blame sysdeps/s390/multiarch/wcpncpy-c.c

Packit Service 1c5418
/* Default wcsncpy implementation for S/390.
Packit Service 1c5418
   Copyright (C) 2015-2018 Free Software Foundation, Inc.
Packit Service d9dc6c
   This file is part of the GNU C Library.
Packit Service d9dc6c
Packit Service d9dc6c
   The GNU C Library is free software; you can redistribute it and/or
Packit Service d9dc6c
   modify it under the terms of the GNU Lesser General Public
Packit Service d9dc6c
   License as published by the Free Software Foundation; either
Packit Service d9dc6c
   version 2.1 of the License, or (at your option) any later version.
Packit Service d9dc6c
Packit Service d9dc6c
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service d9dc6c
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service d9dc6c
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service d9dc6c
   Lesser General Public License for more details.
Packit Service d9dc6c
Packit Service d9dc6c
   You should have received a copy of the GNU Lesser General Public
Packit Service d9dc6c
   License along with the GNU C Library; if not, see
Packit Service 1c5418
   <http://www.gnu.org/licenses/>.  */
Packit Service d9dc6c
Packit Service 1c5418
#if defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)
Packit Service 1c5418
# define WCPNCPY  __wcpncpy_c
Packit Service d9dc6c
Packit Service 1c5418
# include <wchar.h>
Packit Service 1c5418
extern __typeof (__wcpncpy) __wcpncpy_c;
Packit Service 1c5418
# include <wcsmbs/wcpncpy.c>
Packit Service 1c5418
#endif