Provide our own newlib libc
Newlib 2.2.0 w/ nan ofeatures, xtensa patches, locking implementation. Built from https://github.com/projectgus/newlib-xtensa branch xtensa-2_2_0-lock commit daa6ae40cdc8099f54c3e68a586fc1b906169c5a For more details, see: https://github.com/SuperHouse/esp-open-rtos/wiki/libc-configuration Closes #1
This commit is contained in:
parent
a566a51c09
commit
689cf874b2
112 changed files with 23413 additions and 0 deletions
35
libc/xtensa-lx106-elf/include/strings.h
Normal file
35
libc/xtensa-lx106-elf/include/strings.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
/*
|
||||
* strings.h
|
||||
*
|
||||
* Definitions for string operations.
|
||||
*/
|
||||
|
||||
#ifndef _STRINGS_H_
|
||||
#define _STRINGS_H_
|
||||
|
||||
#include "_ansi.h"
|
||||
#include <sys/reent.h>
|
||||
|
||||
#include <sys/types.h> /* for size_t */
|
||||
|
||||
_BEGIN_STD_C
|
||||
|
||||
#if !defined __STRICT_ANSI__ && _POSIX_VERSION < 200809L
|
||||
/*
|
||||
* Marked LEGACY in Open Group Base Specifications Issue 6/IEEE Std 1003.1-2004
|
||||
* Removed from Open Group Base Specifications Issue 7/IEEE Std 1003.1-2008
|
||||
*/
|
||||
int _EXFUN(bcmp,(const void *, const void *, size_t));
|
||||
void _EXFUN(bcopy,(const void *, void *, size_t));
|
||||
void _EXFUN(bzero,(void *, size_t));
|
||||
char *_EXFUN(index,(const char *, int));
|
||||
char *_EXFUN(rindex,(const char *, int));
|
||||
#endif /* ! __STRICT_ANSI__ */
|
||||
|
||||
int _EXFUN(ffs,(int));
|
||||
int _EXFUN(strcasecmp,(const char *, const char *));
|
||||
int _EXFUN(strncasecmp,(const char *, const char *, size_t));
|
||||
|
||||
_END_STD_C
|
||||
|
||||
#endif /* _STRINGS_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue