BOOTLOADER
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Clibrary.h
Go to the documentation of this file.
1 #ifndef CLIBRARY_H
2 #define CLIBRARY_H
3 
4 void memcpy(void *s1, const void *s2, int n);
5 void memset(void *s, const char ch, int n);
6 unsigned short ntohs(unsigned short s);
7 unsigned long ntohl(unsigned long l);
8 unsigned short htons(unsigned short s);
9 unsigned long htonl(unsigned long l);
10 //unsigned long strtoul(char *s);
11 void ultostr(char *s, unsigned long data);
12 unsigned long strtobcd(char *s);
13 unsigned long strtodec(char *str, int cnt);
14 int strlen(const char *s);
15 int strncmp(const char *s1, const char *s2, int maxlen);
16 int strcmp(const char *s1, const char *s2);
17 
18 int getyorn(void);
19 void printf(char *f, ...);
20 void sprintf(char *mem, char *fmt, ...);
21 
22 int GetParameter(char *str, int cnt);
23 
24 #endif