diff options
| author | Thorsten Töpper <atsutane@freethoughts.de> | 2011-01-10 20:45:59 +0100 |
|---|---|---|
| committer | Thorsten Töpper <atsutane@freethoughts.de> | 2011-01-10 20:45:59 +0100 |
| commit | 24ce486813103f5f8037b4386a53fa11d1632253 (patch) | |
| tree | 2247aa3f62507f7faee4f64ca49bed51d6895b31 /aufgabe2/log.c | |
| parent | 7d28c089b45d465b18df1c5cda72abed3748118f (diff) | |
| download | prozesskommunikation-24ce486813103f5f8037b4386a53fa11d1632253.tar.gz prozesskommunikation-24ce486813103f5f8037b4386a53fa11d1632253.tar.bz2 | |
Aufgabe 2: statistic implementiert, kleinere Schönheitskorrekturen.
Diffstat (limited to 'aufgabe2/log.c')
| -rw-r--r-- | aufgabe2/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/aufgabe2/log.c b/aufgabe2/log.c index 96b2a4f..14684ce 100644 --- a/aufgabe2/log.c +++ b/aufgabe2/log.c @@ -13,7 +13,6 @@ FILE *logfile; char *message; void log() { - int buffer; printf("log started\n"); /* Die Pipe zum lesen öffnen */ @@ -36,7 +35,8 @@ void log() { /* Nachricht aus der Pipe lesen, als Endian abhängiger * HEX-Wert in die Log Datei schreiben. Für portable - * Rückkonvertierung ins Dezimalsystem siehe Aufgabe 3. + * Rückkonvertierung ins Dezimalsystem siehe Aufgabe 3, + * oder bei Aufgabe 2 in statistic.c und monitor.c */ while (fgets(message, SIZE_HEX+1, pipe_conv)) { fputs(message, logfile); |
