Files
Redox-From-Scratch/tools/bin/x86_64-unknown-redox/toolchain/x86_64-unknown-redox/include/strings.h
2024-12-16 20:57:17 -08:00

34 lines
626 B
C

#ifndef _RELIBC_STRINGS_H
#define _RELIBC_STRINGS_H
#include <stddef.h>
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
int bcmp(const void *first, const void *second, size_t n);
void bcopy(const void *src, void *dst, size_t n);
void bzero(void *dst, size_t n);
void explicit_bzero(void *s, size_t n);
int ffs(int i);
char *index(const char *s, int c);
char *rindex(const char *s, int c);
int strcasecmp(const char *s1, const char *s2);
int strncasecmp(const char *s1, const char *s2, size_t n);
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus
#endif /* _RELIBC_STRINGS_H */