plus getter.cpp (pipe getter source code)
plus sender.cpp(the pipe sender source code)
plus the file src/pipetest.cpp
this file is made for the test of use of the pipe in unix
And there are something to be done.
Because the sender and the getter can't co-work well.
Maybe the pipe file is not open correctly,which I must deal with at now.
Finally I know what happened to that bug(Segment fault).
The FILE* and the pipepe node is not equal.
Maybe just because I am in Cygwin,and I will test this code in Linux.
Changed to the C printf and scanf instead of write and read functions
Test code for the PIPE while using execve(),there are still some bugs(segment fault)
Fixed the pipe error(not error).
I am confused that in the *REAL* Linux(not Cygwin),after calling function execve(),this program goes well.
So it should blame to the Cygwin(Maybe Cygwin).I will check it out.
Correct some phrase about the NOTE.
I do believe I have already fixed the bug I met before.
I have found that must close the pipe which is no use for anything.
So close the pipe handler as possibly as I can.
Plus the file type of *.out to the git ignored file list
Fixed bug that getter can't get the sender's msg.
Finnaly fixed the problem,when writing to the file in unix,we should use the fflush to force the system write the buf to the file.
Replace tab with space.
Assign the features to realize for everybody.
Plus one virtual function called put_error() in the file shl_io_api.h.
And add its implement in the file console.cpp.But all of this haven't been tested.
Merge branch 'master', remote-tracking branch 'lsm/master'
Merge branch 'pipetest', remote-tracking branch 'lsm/pipetest' into pipetest
Merge branches 'master' and 'pipetest'