Jump to content

Sys2Read

From EDM2
Revision as of 14:36, 26 February 2017 by Ak120 (talk | contribs) (Ak120 moved page OS2 API:RXUTILEX:Sys2Read to RxUtilEx - Sys2Read)

Read bytes from a previously-opened stream (wrapper to DosRead).

Arguments

REXX ARGUMENTS:

 1. File handle (as returned by Sys2Open or Sys2CreateNamedPipe).
    (REQUIRED)
 2. Number of bytes to read.  (REQUIRED)

Return Value

REXX RETURN VALUE:

 String containing the bytes read, or "" in case of error.