annotate lib/strpbrk.h @ 5848:a48fb0e98c8c

*** empty log message ***
author Paul Eggert <eggert@cs.ucla.edu>
date Sat, 14 May 2005 06:03:57 +0000
parents 374be83da43b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3964
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Searching in a string.
3974
374be83da43b Assume ANSI C.
Bruno Haible <bruno@clisp.org>
parents: 3964
diff changeset
2 Copyright (C) 2001-2002 Free Software Foundation, Inc.
3964
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 This program is free software; you can redistribute it and/or modify
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 the Free Software Foundation; either version 2, or (at your option)
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 any later version.
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 GNU General Public License for more details.
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 along with this program; if not, write to the Free Software Foundation,
5848
a48fb0e98c8c *** empty log message ***
Paul Eggert <eggert@cs.ucla.edu>
parents: 3974
diff changeset
16 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
3964
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 #if HAVE_STRPBRK
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 /* Get strpbrk() declaration. */
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 #include <string.h>
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 #else
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 /* Find the first occurrence in S of any character in ACCEPT. */
3974
374be83da43b Assume ANSI C.
Bruno Haible <bruno@clisp.org>
parents: 3964
diff changeset
26 extern char *strpbrk (const char *s, const char *accept);
3964
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 #endif