Brain dead, quick'n'dirty pipe writer, Strictly for testing purposes.

SVN revision: 18402
This commit is contained in:
David Walter Seikel 2005-11-09 20:01:32 +00:00
parent 0bb989f1f6
commit ea18787d33
1 changed files with 10 additions and 1 deletions

View File

@ -249,8 +249,17 @@ ecore_exe_pipe_write(Ecore_Exe *exe, void *data, int size)
* its own write buffer in process space - giving us potentially huge
* buffers, so synchronisation needs to be done at a higher level here as
* buffers could just get huge
*
* But for now, a quick and dirty test implementation -
*/
return 0;
ssize_t outsize = write(exe->child_fd_write, data, size);
if (outsize == -1)
{
/* FIXME: should check errno to see what went wrong. */
return 0;
}
else
return 1;
}
/**