Name

read-file:file — ordinary primitive

Synopsis

FORTH
READ-FILE ( str-adr str-len file -- count code )(); 
 ;

Description

fill the given string buffer with characters from the buffer. A status code of zero means success and the returned count gives the number of bytes actually read. If an error occurs the number of already transferred bytes is returned.

dpANS 11.6.1.2080 - standard forth word