| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | UNIX`s fork |
Leon, 05 Sep you wrote to All: LV> e.g I have a variable producer. Then I create a child LV> process. LV> char producer = 'A'; LV> int pid = fork(); // now we have 2 processes LV> I want to increment producer to 'B' and pass it to the LV> child. I think using a pipe would be a good way to do this (see pipe(2)). Perhaps you can even use popen(3). Bye, Erik --- ---------------* Origin: WarmelinkE@vertis.nl (2:282/1.60) |
|
| SOURCE: echomail via exec-pc | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.