OSDN Git Service

Initial release for VER0.1.5
[lib1stclass/main.git] / 1stclass.h
index b08cde7..9326a69 100755 (executable)
@@ -5,6 +5,7 @@
 *
 * Created by Hajime Kurita
 */
+#include<sys/types.h>
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -17,8 +18,7 @@ int rmkdir(const char *check_dir);
 int rel2abs(const char *rel_path, char *abs_path);
 int remove_path(const char *path);
 int remove_not_file_char(const char *str, char *dst);
-int safe_strcat(char *dst, const char *append);
-int safe_strncat(char *dst, const char *append, const unsigned int len);
+int safe_strcat(char *dst, const char *append, size_t size);
 int shmf(const char *file, char *shmfile);
 
 #ifdef __cplusplus