utilities.h

来自「实现在ARM上的ICP/IP功能的源代码。」· C头文件 代码 · 共 22 行

H
22
字号
u32_t iptoul(u8_t * s);
void iptostr(u8_t*s,u32_t ip);
u16_t  strlen (u8_t * buf, u16_t   len);
u16_t  bufsearch (u8_t * startadr, u16_t  len, u8_t * str);
u8_t  tolower (u8_t  ch);
u8_t  toupper (u8_t  ch);
u8_t  isnumeric (u8_t  ch);
u16_t   hextoascii (u8_t  c);
u8_t  asciitohex (u8_t  ch);
void u32tostr(u8_t *s, u32_t  data);
u32_t  strtou32(u8_t *s);
void memcpy(void *s1,  void *s2,u32_t n);
void MemCopy(void   *buf1,void   *buf2,WORD size); 
void itoa (u16_t   nmbr, u8_t * ch );
void memset(void *s,u8_t ch, u32_t n);
u16_t  ntohs(u16_t  s);
u32_t  ntohl(u32_t  l);
u32_t  htonl(u32_t  l);
u16_t  htons(u16_t  s);
u32_t  strtobcd(u8_t *s);
u16_t strncmp( u8_t *s1,  u8_t *s2, u16_t maxlen);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?