view modules/strstr @ 14138:222670d93ba4

signal: work around Haiku issue with SIGBUS * lib/siglist.h: Add comment. * lib/sig2str.c (numname_table): Swap SIGBUS order, to match strsignal's favoring of SIGSEGV. * tests/test-signal.c (main): Avoid test failure. * doc/posix-headers/signal.texi (signal.h): Document the issue. Reported by Scott McCreary. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Fri, 31 Dec 2010 12:36:15 -0700
parents 59047bad770e
children d1397c651af7
line wrap: on
line source

Description:
strstr() function: efficiently locate first substring in a buffer.

Files:

Depends-on:
strstr-simple

configure.ac:
gl_FUNC_STRSTR

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all, Eric Blake