[修改] 增加freeRTOS
1. 版本FreeRTOSv202212.01,命名为kernel;
This commit is contained in:
79
kernel/FreeRTOS/Demo/ColdFire_MCF52259_CodeWarrior/stdlib.h
Normal file
79
kernel/FreeRTOS/Demo/ColdFire_MCF52259_CodeWarrior/stdlib.h
Normal file
@ -0,0 +1,79 @@
|
||||
/*
|
||||
* File: stdlib.h
|
||||
* Purpose: Function prototypes for standard library functions
|
||||
*
|
||||
* Notes:
|
||||
*/
|
||||
|
||||
#ifndef _STDLIB_H
|
||||
#define _STDLIB_H
|
||||
|
||||
/********************************************************************
|
||||
* Standard library functions
|
||||
********************************************************************/
|
||||
|
||||
int
|
||||
isspace (int);
|
||||
|
||||
int
|
||||
isalnum (int);
|
||||
|
||||
int
|
||||
isdigit (int);
|
||||
|
||||
int
|
||||
isupper (int);
|
||||
|
||||
int
|
||||
strcasecmp (const char *, const char *);
|
||||
|
||||
int
|
||||
strncasecmp (const char *, const char *, int);
|
||||
|
||||
unsigned long
|
||||
strtoul (char *, char **, int);
|
||||
|
||||
int
|
||||
strlen (const char *);
|
||||
|
||||
char *
|
||||
strcat (char *, const char *);
|
||||
|
||||
char *
|
||||
strncat (char *, const char *, int);
|
||||
|
||||
char *
|
||||
strcpy (char *, const char *);
|
||||
|
||||
char *
|
||||
strncpy (char *, const char *, int);
|
||||
|
||||
int
|
||||
strcmp (const char *, const char *);
|
||||
|
||||
int
|
||||
strncmp (const char *, const char *, int);
|
||||
|
||||
void *
|
||||
memcpy (void *, const void *, unsigned);
|
||||
|
||||
void *
|
||||
memset (void *, int, unsigned);
|
||||
|
||||
void
|
||||
free (void *);
|
||||
|
||||
void *
|
||||
malloc (unsigned);
|
||||
|
||||
#define RAND_MAX 32767
|
||||
|
||||
int
|
||||
rand (void);
|
||||
|
||||
void
|
||||
srand (int);
|
||||
|
||||
/********************************************************************/
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user