vfs: check userland buffers before reading them.
[haiku.git] / headers / compatibility / bsd / string.h
blobc19ea27f870fb0df01f10f4db2075a2a5dc4a081
1 /*
2 * Copyright 2009-2010 Haiku Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _BSD_STRING_H_
6 #define _BSD_STRING_H_
9 #include_next <string.h>
12 #ifdef _BSD_SOURCE
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 char* strsep(char** string, const char* delimiters);
20 void explicit_bzero(void *buf, size_t len);
22 #ifdef __cplusplus
24 #endif
27 #endif
30 #endif /* _BSD_STRING_H_ */