Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

CreateIORequest

Create a structure usable for an I/O request

Declaration

Source position: exec.pas line 2114

function CreateIORequest(

  port: PMsgPort;

  size: Cardinal

):Pointer;

Arguments

port

  

A pointer to a port for replies (an initialized message port, as created by CreateMsgPort()). If nil, this function fails.

size

  

The size of the IO request to be created.

Function result

A pointer to the I/O request structure created or nil

Description

Allocates memory for and initializes a new IO request block of a user-specified number of bytes. The number of bytes must be at least as large as a TMessage.

See also

DeleteIORequest

  

Free an i/O request

CreateMsgPort

  

Create a new message port


Documentation generated on: 2021-07-30