Files
FireBee_Setup-Dev/devtools/ahcccf.bin/include/string.h
2023-06-12 09:14:09 +02:00

68 lines
2.1 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* STRING.H
String Definitions
Copyright (C) Borland International 1990
All Rights Reserved.
*/
#if !defined( __STRING )
#define __STRING
#if !defined( __STDDEF )
#include <stddef.h>
#endif
char *strcat( char *s1, const char *s2 );
char *strncat( char *s1, const char *s2, size_t n );
int strcmp( const char *s1, const char *s2 );
int stricmp( const char *s1, const char *s2 );
int strcmpi( const char *s1, const char *s2 );
int strncmp( const char *s1, const char *s2, size_t n );
int strnicmp( const char *s1, const char *s2, size_t n );
int strncmpi( const char *s1, const char *s2, size_t n );
char *strcpy( char *s1, const char *s2 );
char *strncpy( char *s1, const char *s2, size_t n );
char *strdup( const char *s );
size_t strlen( const char *s );
char *strchr( const char *s, int c );
char *strrchr( const char *s, int c );
size_t strspn( const char *s, const char *set );
size_t strcspn( const char *s, const char *set );
char *strpbrk( const char *s, const char *set );
char *strstr( const char *src, const char *sub );
char *strtok( char *str, const char *set );
char *strupr( char *s );
char *strlwr( char *s );
char *strrev( char *s );
char *strset( char *s, int c );
char *strnset( char *s, int c, size_t n );
#ifndef __NO_FLOAT__
double strtod( const char *s, char **endptr );
#endif
long strtol( const char *str, char **ptr, int base );
unsigned long strtoul( const char *str, char **ptr, int base );
char *strerror( int errnum );
void *memchr( const void *ptr, int val, size_t len );
int memcmp( const void *ptr1, const void *ptr2, size_t len );
void *memcpy( void *dest, const void *src, size_t len );
void *memmove( void *dest, const void *src, size_t len );
void *memset( void *ptr, int val, size_t len );
#define zero(x) memset(&(x), 0, sizeof(x))
#define pzero(x) memset(x, 0, sizeof(*(x)))
#endif
/************************************************************************/