WriteProgramData()
语法
Result = WriteProgramData(Program, *Buffer, Size)概要
Writes the data from the buffer to the specified programs input (stdin).
参数
Program The program to use. It must have been started before with RunProgram() and the #PB_Program_Write flag. *Buffer The memory buffer to write the data from. The special value #PB_Program_Eof can be used instead of a real memory buffer to make the program receive an EOF (end of file) in its input (which tells the program that there will be no more input). The 'Size' parameter is ignored in this case. After calling WriteProgramData() with this special value, no more input may be written to the program. Size The size to write.
返回值
The number of bytes actually written.
参阅
WriteProgramString(), WriteProgramStringN()
已支持操作系统
所有