Data update
This commit is contained in:
parent
29a5eea0d4
commit
5c1bb7bfa9
2011 changed files with 35081 additions and 3229 deletions
|
|
@ -0,0 +1,13 @@
|
|||
// Create file handles for standard input and output
|
||||
FileHandleRef stdIn = fn FileHandleWithStandardInput
|
||||
FileHandleRef stdOut = fn FileHandleWithStandardOutput
|
||||
|
||||
// Continuously read from standard input…
|
||||
while (YES)
|
||||
CFDataRef availableData = fn FileHandleAvailableData( stdIn )
|
||||
if ( fn DataLength( availableData ) == 0 )
|
||||
break // End of input
|
||||
end if
|
||||
// … and write to standard output
|
||||
fn FileHandleWriteData( stdOut, availableData, NULL )
|
||||
wend
|
||||
Loading…
Add table
Add a link
Reference in a new issue