]> Joshua Wise's Git repositories - netwatch.git/blame - include/minilib.h
p2v and v2p, in a manner of type A...
[netwatch.git] / include / minilib.h
CommitLineData
36ce375d
JP
1#ifndef MINILIB_H
2#define MINILIB_H
d56898ee 3
d24901e6
JW
4#include <stdarg.h>
5
42e26afa 6extern void memcpy(void *dest, const void *src, int bytes);
6e6d4a8b 7extern void memset(void *dest, int data, int bytes);
d24901e6
JW
8extern void memmove(void *dest, void *src, int bytes);
9extern int memcmp(const char *a2, const char *a1, int bytes);
10extern int strcmp(const char *a2, const char *a1);
a9d1719c 11extern int strlen(const char *c);
d24901e6 12extern void strcpy(char *a2, const char *a1);
a9d1719c 13extern void puts(const char *c);
d24901e6
JW
14extern void tohex(char *s, unsigned long l);
15extern void puthex(unsigned long l);
16extern int vsprintf(char *s, const char *fmt, va_list args);
17extern int vsnprintf(char *s, int size, const char *fmt, va_list args);
18extern int sprintf(char *s, const char *fmt, ...);
19extern int snprintf(char *s, int size, const char *fmt, ...);
644af6b4 20extern unsigned short htons(unsigned short in);
6e6d4a8b 21extern unsigned int htonl(unsigned int in);
d56898ee 22
23#endif
This page took 0.027842 seconds and 4 git commands to generate.