![]() |
|
|
|
#1
|
|||
|
|||
|
@Kerlingen
no, there is no error. Did you try the code? I guess you didn't. In the first program the last char written is 0x0, thus there is no endless loop. Also, it writes directly to stdout and to the file, not only when the buffer is full. At least, it works with the two small programs above under Win7. As I've written, I'm pretty sure you can adjust it to your needs. If you can't get it to work, I'd be interessted in your input file. Best regards *RemedY* |
|
#2
|
|||
|
|||
|
There is no such thing like an "input file", there is just a service daemon which outputs his log messages to the console.
I want to see the messages in real time on the console and additionally log them to a file. |
|
#3
|
|||
|
|||
|
Ah, OK.
Win or *nix? I want to know that, because I will set up a small daemon then and try it with that. I hope I can help you. Best regards *RemedY* |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [ARMADILLO] 1 serial & 1 key - need input | Maltese | General Discussion | 2 | 02-18-2005 00:58 |