Most minor stuff so far
This commit is contained in:
parent
5c84ba8b68
commit
452771f8ba
|
@ -79,49 +79,49 @@ typedef struct { long quot, rem; } ldiv_t;
|
||||||
#define memchr memchrb
|
#define memchr memchrb
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void *memsetb(void *, int, size_t);
|
void *memsetb(void *, int, size_t);
|
||||||
void *memsetw(void *, int, size_t);
|
void *memsetw(void *, int, size_t);
|
||||||
void *memsetd(void *, int, size_t);
|
void *memsetd(void *, int, size_t);
|
||||||
void *memsetq(void *, long, size_t);
|
void *memsetq(void *, long, size_t);
|
||||||
|
|
||||||
void *memchrb(const void *, int, size_t);
|
void *memchrb(const void *, int, size_t);
|
||||||
void *memchrw(const void *, int, size_t);
|
void *memchrw(const void *, int, size_t);
|
||||||
void *memchrd(const void *, int, size_t);
|
void *memchrd(const void *, int, size_t);
|
||||||
void *memchrq(const void *, long, size_t);
|
void *memchrq(const void *, long, size_t);
|
||||||
|
|
||||||
void *memcpy(void *, const void *, size_t);
|
void *memcpy(void *, const void *, size_t);
|
||||||
void *memmove(void *, const void *, size_t);
|
void *memmove(void *, const void *, size_t);
|
||||||
|
|
||||||
void *memzero(void *, size_t);
|
void *memzero(void *, size_t);
|
||||||
int memcmp(const void *, const void *, size_t);
|
int memcmp(const void *, const void *, size_t);
|
||||||
|
|
||||||
//------------------------------------------//
|
//------------------------------------------//
|
||||||
// String manipulation utilities //
|
// String manipulation utilities //
|
||||||
//------------------------------------------//
|
//------------------------------------------//
|
||||||
|
|
||||||
size_t strlen(const char *);
|
size_t strlen(const char *);
|
||||||
char *strcpy(char *, const char *);
|
char *strcpy(char *, const char *);
|
||||||
char *strncpy(char *, const char *, size_t);
|
char *strncpy(char *, const char *, size_t);
|
||||||
char *strrev(char *, const char *);
|
char *strrev(char *, const char *);
|
||||||
char *reverse(char *);
|
char *reverse(char *);
|
||||||
|
|
||||||
int sprintf(char *, const char *, ...);
|
int sprintf(char *, const char *, ...);
|
||||||
int snprintf(char *, size_t, const char *, ...);
|
int snprintf(char *, size_t, const char *, ...);
|
||||||
int vsprintf(char *, const char *, va_list);
|
int vsprintf(char *, const char *, va_list);
|
||||||
int vsnprintf(char *, size_t, const char *, va_list);
|
int vsnprintf(char *, size_t, const char *, va_list);
|
||||||
|
|
||||||
//------------------------------------------//
|
//------------------------------------------//
|
||||||
// Type conversion utilities //
|
// Type conversion utilities //
|
||||||
//------------------------------------------//
|
//------------------------------------------//
|
||||||
|
|
||||||
int *atoi(const char *);
|
int *atoi(const char *);
|
||||||
long *atol(const char *);
|
long *atol(const char *);
|
||||||
|
|
||||||
char *itoa(int, char *, int);
|
char *itoa(int, char *, int);
|
||||||
char *ltoa(long, char *, int);
|
char *ltoa(long, char *, int);
|
||||||
|
|
||||||
char *utoa(unsigned int, char *, int);
|
char *utoa(unsigned int, char *, int);
|
||||||
char *ultoa(unsigned long, char *, int);
|
char *ultoa(unsigned long, char *, int);
|
||||||
|
|
||||||
long strtol(const char *, char **, int);
|
long strtol(const char *, char **, int);
|
||||||
unsigned long strtoul(const char *, char **, int);
|
unsigned long strtoul(const char *, char **, int);
|
||||||
|
|
Loading…
Reference in New Issue