![]() |
| | #1 |
| Registered User Join Date: May 2007 Location: Berkeley, CA
Posts: 140
| pipe question they have a the following function to help sychronize the parent and child. Code: static int pfd1[2] , pfd2[2];
void
TELL_PARENT(pid_t pid)
{
if (write(pfd2[1], "c", 1) != 1)
err_sys("write error");
}
actually use it? |
| Overworked_PhD is offline | |
| | #2 |
| Registered User Join Date: Mar 2003
Posts: 3,903
| I think it's an attempt by the authors to confuse their readers.....or just an omission. Check the errata for other "oops": http://www.apuebook.com/index.html gg |
| Codeplug is offline | |
| | #3 |
| Registered User Join Date: May 2007 Location: Berkeley, CA
Posts: 140
| There's nothing about it in the errata. |
| Overworked_PhD is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advanced Piping Question! | Paul22000 | C Programming | 14 | 04-17-2009 09:55 AM |
| Alice.... | Lurker | General Discussions | 16 | 06-20-2005 02:51 PM |
| Pipe the console from a DLL | loobian | Windows Programming | 12 | 11-30-2003 08:55 PM |
| Question... | TechWins | A Brief History of Cprogramming.com | 16 | 07-28-2003 09:47 PM |
| Pipe not working fully | Heraclitus | Linux Programming | 1 | 03-05-2003 10:09 AM |