![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pipe output to script as command line argument | IMTheNachoMan | UNIX for Dummies Questions & Answers | 3 | 04-26-2008 12:59 PM |
| how to pipe output of here-document!! | sami98 | Shell Programming and Scripting | 7 | 02-17-2008 10:40 AM |
| grep string and output filename | happyv | Shell Programming and Scripting | 3 | 11-20-2007 12:16 AM |
| read file and output message | happyv | Shell Programming and Scripting | 12 | 01-24-2007 09:57 PM |
| Output the message | ust | UNIX for Dummies Questions & Answers | 1 | 09-25-2005 08:35 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
output string message to pipe
i am new to linux programming. can anyone answer my question?
there is one pipe file "my_pipe" prw-r--r-- 1 john rnd 32 Aug 17 19:45 my_pipe how to output string message (char*) to this pipe? which API should I use? |
|
||||
|
If you have opened the pipe via pipe system cmd then you must have access to 2 file descriptors which are read and write ends for pipe. You can write on the write end of pipe using the 'write' system call.
A better help would be Beej's guide for IPC. regards Apoorva Kumar |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|