Changeset 4705 for trunk/Ohana/src/opihi/pcontrol/pclient.c
- Timestamp:
- Aug 3, 2005, 5:50:08 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/pclient.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/pclient.c
r4573 r4705 12 12 13 13 /* send command to client (adding on \n) */ 14 /* fprintf (stderr, "send: %s (%d)\n", command, buffer[0].Nbuffer); */ 15 ALLOCATE (line, char, MAX (1, strlen(command) + 1)); 16 sprintf (line, "%s\n", command); 17 status = write (host[0].stdin, line, strlen(line)); 18 free (line); 14 status = write_fmt (host[0].stdin, "%s\n", command); 19 15 20 16 /* is pipe still open? */
Note:
See TracChangeset
for help on using the changeset viewer.
