diosmios/string.h

24 lines
672 B
C
Raw Normal View History

#ifndef _STRING_H_
#define _STRING_H_
#include "global.h"
char *strcpy(char *, const char *);
char *strncpy(char *, const char *, size_t);
int strcmp(const char *, const char *);
int strncmp(const char *p, const char *q, size_t n);
size_t strlen(const char *);
size_t strnlen(const char *, size_t);
char *strchr(const char *s, int c);
extern void *memset(void *, int, size_t);
void udelay(u32 d);
//void *memcpy(void *, const void *, size_t);
//void *memcpy(void *, const void *, size_t);
//void *memcpy(void *, const void *, size_t);
int memcmp(const void *s1, const void *s2, size_t n);
int sprintf( char *astr, const char *fmt, ...);
#endif