|
Packit Service |
6de65a |
/* Default strnlen implementation for S/390.
|
|
Packit Service |
6de65a |
Copyright (C) 2015-2018 Free Software Foundation, Inc.
|
|
Packit Service |
6de65a |
This file is part of the GNU C Library.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
6de65a |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
6de65a |
License as published by the Free Software Foundation; either
|
|
Packit Service |
6de65a |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
6de65a |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
6de65a |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
6de65a |
Lesser General Public License for more details.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
6de65a |
License along with the GNU C Library; if not, see
|
|
Packit Service |
6de65a |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
#if defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)
|
|
Packit Service |
6de65a |
# define STRNLEN __strnlen_c
|
|
Packit Service |
6de65a |
# ifdef SHARED
|
|
Packit Service |
6de65a |
# undef libc_hidden_def
|
|
Packit Service |
6de65a |
# define libc_hidden_def(name) \
|
|
Packit Service |
6de65a |
__hidden_ver1 (__strnlen_c, __GI_strnlen, __strnlen_c); \
|
|
Packit Service |
6de65a |
strong_alias (__strnlen_c, __strnlen_c_1); \
|
|
Packit Service |
6de65a |
__hidden_ver1 (__strnlen_c_1, __GI___strnlen, __strnlen_c_1);
|
|
Packit Service |
6de65a |
# endif /* SHARED */
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
# include <string/strnlen.c>
|
|
Packit Service |
6de65a |
#endif /* HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc) */
|