Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include
File: strings.h
/* Copyright (C) 1991-2018 Free Software Foundation, Inc.
[0] Fix | Delete
This file is part of the GNU C Library.
[1] Fix | Delete
[2] Fix | Delete
The GNU C Library is free software; you can redistribute it and/or
[3] Fix | Delete
modify it under the terms of the GNU Lesser General Public
[4] Fix | Delete
License as published by the Free Software Foundation; either
[5] Fix | Delete
version 2.1 of the License, or (at your option) any later version.
[6] Fix | Delete
[7] Fix | Delete
The GNU C Library is distributed in the hope that it will be useful,
[8] Fix | Delete
but WITHOUT ANY WARRANTY; without even the implied warranty of
[9] Fix | Delete
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
[10] Fix | Delete
Lesser General Public License for more details.
[11] Fix | Delete
[12] Fix | Delete
You should have received a copy of the GNU Lesser General Public
[13] Fix | Delete
License along with the GNU C Library; if not, see
[14] Fix | Delete
<http://www.gnu.org/licenses/>. */
[15] Fix | Delete
[16] Fix | Delete
#ifndef _STRINGS_H
[17] Fix | Delete
#define _STRINGS_H 1
[18] Fix | Delete
[19] Fix | Delete
#include <features.h>
[20] Fix | Delete
#define __need_size_t
[21] Fix | Delete
#include <stddef.h>
[22] Fix | Delete
[23] Fix | Delete
/* Tell the caller that we provide correct C++ prototypes. */
[24] Fix | Delete
#if defined __cplusplus && __GNUC_PREREQ (4, 4)
[25] Fix | Delete
# define __CORRECT_ISO_CPP_STRINGS_H_PROTO
[26] Fix | Delete
#endif
[27] Fix | Delete
[28] Fix | Delete
__BEGIN_DECLS
[29] Fix | Delete
[30] Fix | Delete
#if defined __USE_MISC || !defined __USE_XOPEN2K8
[31] Fix | Delete
/* Compare N bytes of S1 and S2 (same as memcmp). */
[32] Fix | Delete
extern int bcmp (const void *__s1, const void *__s2, size_t __n)
[33] Fix | Delete
__THROW __attribute_pure__ __nonnull ((1, 2));
[34] Fix | Delete
[35] Fix | Delete
/* Copy N bytes of SRC to DEST (like memmove, but args reversed). */
[36] Fix | Delete
extern void bcopy (const void *__src, void *__dest, size_t __n)
[37] Fix | Delete
__THROW __nonnull ((1, 2));
[38] Fix | Delete
[39] Fix | Delete
/* Set N bytes of S to 0. */
[40] Fix | Delete
extern void bzero (void *__s, size_t __n) __THROW __nonnull ((1));
[41] Fix | Delete
[42] Fix | Delete
/* Find the first occurrence of C in S (same as strchr). */
[43] Fix | Delete
# ifdef __CORRECT_ISO_CPP_STRINGS_H_PROTO
[44] Fix | Delete
extern "C++"
[45] Fix | Delete
{
[46] Fix | Delete
extern char *index (char *__s, int __c)
[47] Fix | Delete
__THROW __asm ("index") __attribute_pure__ __nonnull ((1));
[48] Fix | Delete
extern const char *index (const char *__s, int __c)
[49] Fix | Delete
__THROW __asm ("index") __attribute_pure__ __nonnull ((1));
[50] Fix | Delete
[51] Fix | Delete
# if defined __OPTIMIZE__
[52] Fix | Delete
__extern_always_inline char *
[53] Fix | Delete
index (char *__s, int __c) __THROW
[54] Fix | Delete
{
[55] Fix | Delete
return __builtin_index (__s, __c);
[56] Fix | Delete
}
[57] Fix | Delete
[58] Fix | Delete
__extern_always_inline const char *
[59] Fix | Delete
index (const char *__s, int __c) __THROW
[60] Fix | Delete
{
[61] Fix | Delete
return __builtin_index (__s, __c);
[62] Fix | Delete
}
[63] Fix | Delete
# endif
[64] Fix | Delete
}
[65] Fix | Delete
# else
[66] Fix | Delete
extern char *index (const char *__s, int __c)
[67] Fix | Delete
__THROW __attribute_pure__ __nonnull ((1));
[68] Fix | Delete
# endif
[69] Fix | Delete
[70] Fix | Delete
/* Find the last occurrence of C in S (same as strrchr). */
[71] Fix | Delete
# ifdef __CORRECT_ISO_CPP_STRINGS_H_PROTO
[72] Fix | Delete
extern "C++"
[73] Fix | Delete
{
[74] Fix | Delete
extern char *rindex (char *__s, int __c)
[75] Fix | Delete
__THROW __asm ("rindex") __attribute_pure__ __nonnull ((1));
[76] Fix | Delete
extern const char *rindex (const char *__s, int __c)
[77] Fix | Delete
__THROW __asm ("rindex") __attribute_pure__ __nonnull ((1));
[78] Fix | Delete
[79] Fix | Delete
# if defined __OPTIMIZE__
[80] Fix | Delete
__extern_always_inline char *
[81] Fix | Delete
rindex (char *__s, int __c) __THROW
[82] Fix | Delete
{
[83] Fix | Delete
return __builtin_rindex (__s, __c);
[84] Fix | Delete
}
[85] Fix | Delete
[86] Fix | Delete
__extern_always_inline const char *
[87] Fix | Delete
rindex (const char *__s, int __c) __THROW
[88] Fix | Delete
{
[89] Fix | Delete
return __builtin_rindex (__s, __c);
[90] Fix | Delete
}
[91] Fix | Delete
# endif
[92] Fix | Delete
}
[93] Fix | Delete
# else
[94] Fix | Delete
extern char *rindex (const char *__s, int __c)
[95] Fix | Delete
__THROW __attribute_pure__ __nonnull ((1));
[96] Fix | Delete
# endif
[97] Fix | Delete
#endif
[98] Fix | Delete
[99] Fix | Delete
#if defined __USE_MISC || !defined __USE_XOPEN2K8 || defined __USE_XOPEN2K8XSI
[100] Fix | Delete
/* Return the position of the first bit set in I, or 0 if none are set.
[101] Fix | Delete
The least-significant bit is position 1, the most-significant 32. */
[102] Fix | Delete
extern int ffs (int __i) __THROW __attribute_const__;
[103] Fix | Delete
#endif
[104] Fix | Delete
[105] Fix | Delete
/* The following two functions are non-standard but necessary for non-32 bit
[106] Fix | Delete
platforms. */
[107] Fix | Delete
# ifdef __USE_MISC
[108] Fix | Delete
extern int ffsl (long int __l) __THROW __attribute_const__;
[109] Fix | Delete
__extension__ extern int ffsll (long long int __ll)
[110] Fix | Delete
__THROW __attribute_const__;
[111] Fix | Delete
# endif
[112] Fix | Delete
[113] Fix | Delete
/* Compare S1 and S2, ignoring case. */
[114] Fix | Delete
extern int strcasecmp (const char *__s1, const char *__s2)
[115] Fix | Delete
__THROW __attribute_pure__ __nonnull ((1, 2));
[116] Fix | Delete
[117] Fix | Delete
/* Compare no more than N chars of S1 and S2, ignoring case. */
[118] Fix | Delete
extern int strncasecmp (const char *__s1, const char *__s2, size_t __n)
[119] Fix | Delete
__THROW __attribute_pure__ __nonnull ((1, 2));
[120] Fix | Delete
[121] Fix | Delete
#ifdef __USE_XOPEN2K8
[122] Fix | Delete
/* POSIX.1-2008 extended locale interface (see locale.h). */
[123] Fix | Delete
# include <bits/types/locale_t.h>
[124] Fix | Delete
[125] Fix | Delete
/* Compare S1 and S2, ignoring case, using collation rules from LOC. */
[126] Fix | Delete
extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc)
[127] Fix | Delete
__THROW __attribute_pure__ __nonnull ((1, 2, 3));
[128] Fix | Delete
[129] Fix | Delete
/* Compare no more than N chars of S1 and S2, ignoring case, using
[130] Fix | Delete
collation rules from LOC. */
[131] Fix | Delete
extern int strncasecmp_l (const char *__s1, const char *__s2,
[132] Fix | Delete
size_t __n, locale_t __loc)
[133] Fix | Delete
__THROW __attribute_pure__ __nonnull ((1, 2, 4));
[134] Fix | Delete
#endif
[135] Fix | Delete
[136] Fix | Delete
__END_DECLS
[137] Fix | Delete
[138] Fix | Delete
#if __GNUC_PREREQ (3,4) && __USE_FORTIFY_LEVEL > 0 \
[139] Fix | Delete
&& defined __fortify_function
[140] Fix | Delete
/* Functions with security checks. */
[141] Fix | Delete
# if defined __USE_MISC || !defined __USE_XOPEN2K8
[142] Fix | Delete
# include <bits/strings_fortified.h>
[143] Fix | Delete
# endif
[144] Fix | Delete
#endif
[145] Fix | Delete
[146] Fix | Delete
#endif /* strings.h */
[147] Fix | Delete
[148] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function