proc_child.c
来自「一套很值得分析的短信SMS开发源代码。是我今年早些时候从taobao上买来的。但」· C语言 代码 · 共 22 行
C
22 行
#include "apr.h"
#include <stdio.h>
#if APR_HAVE_UNISTD_H
#include <unistd.h>
#endif
#if APR_HAVE_IO_H
#include <io.h>
#endif
#include <stdlib.h>
int main(void)
{
char buf[256];
apr_ssize_t bytes;
bytes = read(STDIN_FILENO, buf, 256);
if (bytes > 0)
write(STDOUT_FILENO, buf, bytes);
return 0; /* just to keep the compiler happy */
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?