]>
git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/gdb_string.h
3 Copyright (C) 1995, 1998, 1999, 2000, 2001, 2004, 2007
4 Free Software Foundation, Inc.
6 This file is part of GDB.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor,
21 Boston, MA 02110-1301, USA. */
23 #if !defined(GDB_STRING_H)
36 extern char *strchr (const char *, int); /* X3.159-1989 4.11.5.2 */
40 extern char *strrchr (const char *, int); /* X3.159-1989 4.11.5.5 */
44 extern char *strtok (char *, const char *); /* X3.159-1989 4.11.5.8 */
50 extern void *memset ();
51 extern void *memcpy ();
52 extern void *memmove ();
55 #endif /* STDC_HEADERS */
57 #if !HAVE_DECL_STRERROR
59 extern char *strerror (int); /* X3.159-1989 4.11.6.2 */
65 extern char *strstr (const char *, const char *); /* X3.159-1989 4.11.5.7 */
69 #endif /* !defined(GDB_STRING_H) */