2018-01-15 20:00:23 +07:00
|
|
|
/*
|
|
|
|
* Copyright 2018 Haiku, Inc. All Rights Reserved.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _GNU_STRING_H_
|
|
|
|
#define _GNU_STRING_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include_next <string.h>
|
2024-09-16 13:33:23 -04:00
|
|
|
#include <features.h>
|
2018-01-15 20:00:23 +07:00
|
|
|
|
|
|
|
|
2024-09-16 13:33:23 -04:00
|
|
|
#ifdef _DEFAULT_SOURCE
|
2018-01-15 20:00:23 +07:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern void *memmem(const void *source, size_t sourceLength,
|
|
|
|
const void *search, size_t searchLength);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _GNU_STRING_H_ */
|