Sending floating point values between processes with pipes in C
- by Alex
Is there a standard way of sending floating point values from a child process to a parent process in C.
I have a some calculations where I want to fork a process, then have the child do some busy work, the parent do something else, and then the child send its values (which are doubles) back to the parent (presumably through a pipe). Clearly the parent could parse the stream, but I'm just wondering if there's a cleaner way?