Fix bugs
This commit is contained in:
parent
a6a7858eaf
commit
69776245a7
20 changed files with 59721 additions and 58907 deletions
11
include/sj4common/sj4compat.h
Normal file
11
include/sj4common/sj4compat.h
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#ifndef __SJ4COMPAT_H__
|
||||
#define __SJ4COMPAT_H__
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
int sj4_snprintf(char*, size_t, const char*, ...);
|
||||
size_t sj4_strlcpy(char*, const char*, size_t);
|
||||
|
||||
#endif
|
||||
|
|
@ -18,8 +18,8 @@
|
|||
#define SJ_STRING_H
|
||||
|
||||
/* string.c */
|
||||
int sj4_str_sjistoeuc(unsigned char*, int, unsigned char*, unsigned char*, int*);
|
||||
int sj4_str_euctosjis(unsigned char*, int, unsigned char*, unsigned char*, int*);
|
||||
int sj4_str_sjistoeuc(unsigned char*, int, unsigned char*, int, unsigned char*, int*);
|
||||
int sj4_str_euctosjis(unsigned char*, int, unsigned char*, int, unsigned char*, int*);
|
||||
int sj4_sjistoeuclen(unsigned char*, int);
|
||||
|
||||
int sj4_sjistoeuc(unsigned char* s, int, unsigned char*, int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue