- 博客(6)
- 资源 (51)
- 收藏
- 关注
原创 pipe实例
#include #include #include #include #include int fds[2];int main(void){ if(-1 == pipe(fds)){ printf("pipe fail\r\n"); exit(0); } pid_t pid = fork();
2012-08-31 18:11:50 1611
原创 C读取文件内容
#include #include #include #include #include char *GetFileContent(const char *psFileName){ int pf = open(psFileName, O_RDONLY); if( 0 == pf) { printf("open file f
2012-08-31 18:10:23 2095
原创 getopt实例
#include #include int main(int argc, const char **argv){ int c; while (1) { int option_index = 0; struct option long_options[] = { { "type
2012-08-31 18:07:04 1668
原创 inotify实例
#include #include #include #include #include #include #include //__SYSCALL(int, inotify_init)//__SYSCALL(int, inotify_add_watch, int, fd, const char *, path, __u32, mask)//__SYSCAL
2012-08-31 18:01:26 1941
原创 openssl实例
/////////////////////////////////////////////////////////////////////////////server.c#include #include #include #include #include #include #include #include #include #include #include
2012-08-31 17:55:29 2509
原创 epoll实例
#include #include #include #include #include #include #include #include #include #include #include #include #define LISTENQ 20#define SERV_PORT 5000typedef struct task_
2012-08-31 17:37:28 1745
c# dll jmail ReportViewer Zip Ajax Mysql Win32Security
2012-09-15
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人