/src/os/iphone/ftk_iphone.h
http://ftk.googlecode.com/ · C Header · 43 lines · 33 code · 10 blank · 0 comment · 0 complexity · 6a15a9a82fcec83cde4e366fc78a6c9f MD5 · raw file
- #ifndef FTK_IPHONE_H
- #define FTK_IPHONE_H
- #include <setjmp.h>
- #include <fcntl.h>
- #include <dirent.h>
- #include <sys/types.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #include <unistd.h>
- #include <ctype.h>
- #include <sys/select.h>
- #include <sys/time.h>
- #include <sys/types.h>
- #include <sys/socket.h>
- #define ftk_strncpy strncpy
- #define ftk_snprintf snprintf
- #define ftk_vsnprintf vsnprintf
- #define ftk_getcwd getcwd
- #define ftk_sscanf sscanf
- #define ftk_pipe_pair(fds) pipe(fds)
- #define ftk_pipe_close(fd) close(fd)
- #define ftk_pipe_recv(fd, buf, length) read(fd, buf, length)
- #define ftk_pipe_send(fd, buf, length) write(fd, buf, length)
- #ifdef HAVE_CONFIG_H
- #include "config_ftk.h"
- #endif
- #define FTK_PATH_DELIM '/'
- #if 0
- #define FTK_HAS_MAIN 1
- #endif
- #define USE_FTK_MAIN 1
- jmp_buf *jump_env(void);
- #endif/*FTK_IPHONE_H*/