|
write to pipe then read the pipe back into the program
|
|
02-03-2010, 01:24 PM
Post: #1
|
|||
|
|||
|
write to pipe then read the pipe back into the program
Example of piping with unix api using free pascal compiler
Code: program pipeExample(input,output); |
|||
|
02-03-2010, 11:50 PM
Post: #2
|
|||
|
|||
|
RE: write to pipe then read the pipe back into the program
Great code, same as in C++ setLength() is very good function, i use it for arrays !
We attack any new problem we encounter with techniques we already know, and try small modifications if difficulties turn up. Bram Cohen - Bit Torrent Creator |
|||
|
04-08-2010, 04:16 AM
Post: #3
|
|||
|
|||
|
RE: write to pipe then read the pipe back into the program
I was skimming through this code and i don't understand this function "fpFork()". What does it do ?
We attack any new problem we encounter with techniques we already know, and try small modifications if difficulties turn up. Bram Cohen - Bit Torrent Creator |
|||
|
04-08-2010, 07:01 AM
Post: #4
|
|||
|
|||
|
RE: write to pipe then read the pipe back into the program
@Drdebcol
Quote:FpFork creates a child process which is a copy of the parent process. FpFork returns the process ID in the parent process, and zero in the child's process. (you can get the parent's PID with fpGetPPid). "Character is determined more by the lack of certain experiences than by those one has had." Friedrich Nietzsche |
|||
|
« Next Oldest | Next Newest »
|





