]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - include/minilib.h
Avoid suffering from wrong CS_SEGSEL syndrome.
[netwatch.git] / include / minilib.h
... / ...
CommitLineData
1#ifndef MINILIB_H
2#define MINILIB_H
3
4#include <stdarg.h>
5
6extern void memcpy(void *dest, const void *src, int bytes);
7extern void memset(void *dest, int data, int bytes);
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);
11extern int strncmp(const char *a2, const char *a1, int n);
12extern int strlen(const char *c);
13extern void strcat(char *dest, char *src);
14extern void strcpy(char *a2, const char *a1);
15extern void puts(const char *c);
16extern void tohex(char *s, unsigned long l);
17extern void puthex(unsigned long l);
18extern int vsprintf(char *s, const char *fmt, va_list args);
19extern int vsnprintf(char *s, int size, const char *fmt, va_list args);
20extern int sprintf(char *s, const char *fmt, ...);
21extern int snprintf(char *s, int size, const char *fmt, ...);
22extern unsigned short htons(unsigned short in);
23extern unsigned int htonl(unsigned int in);
24
25#endif
This page took 0.025212 seconds and 4 git commands to generate.