dlugolecki.net.pl
Dziennik
Polecane
Software
projects
/
wsti_so.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add comment to processess array.
[wsti_so.git]
/
src
/
process3.c
diff --git
a/src/process3.c
b/src/process3.c
index dfa30dbe389d56ab4cc24f5bf3206fde813c0d94..4568d97d1e3c4ee1280221fbf7f23ef1cd7f57e2 100644
(file)
--- a/
src/process3.c
+++ b/
src/process3.c
@@
-23,6
+23,8
@@
int main(void) {
/* Reading from process2 */
read_descriptor = open(read_pipe, O_RDONLY);
+ fprintf(stderr, "[%s] Init!\n", "process3");
+
while(1) {
/* Read data from input pipe */
count = read(read_descriptor, &buffer, sizeof(int));