Code Review
/
bottlenecks.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
upload http
[bottlenecks.git]
/
rubbos
/
app
/
httpd-2.0.64
/
srclib
/
apr
/
test
/
proc_child.c
1
#include "apr.h"
2
#include <stdio.h>
3
#if APR_HAVE_UNISTD_H
4
#include <unistd.h>
5
#endif
6
#if APR_HAVE_IO_H
7
#include <io.h>
8
#endif
9
#include <stdlib.h>
10
11
int main(void)
12
{
13
char buf[256];
14
apr_ssize_t bytes;
15
16
bytes = read(STDIN_FILENO, buf, 256);
17
if (bytes > 0)
18
write(STDOUT_FILENO, buf, bytes);
19
20
return 0; /* just to keep the compiler happy */
21
}