annotate lib/strpbrk.h @ 5111:513a73ee50a0

Remove "fatal" module.
author Paul Eggert <eggert@cs.ucla.edu>
date Tue, 03 Aug 2004 18:40:30 +0000
parents 374be83da43b
children a48fb0e98c8c
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,
b48eab35ae58 New header files.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
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