ESMFill

Fills a specified area with a pattern.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <esm.h> 
   
  int ESMFill (
     uint32_t   pattern,
     addr64_t   destination,
     size64_t   length);
  

Parameters

pattern

(IN) Specifies the 32-bit pattern to write to the destination area.

destination

(IN) Specifies the address in which to write the pattern.

length

(IN) Specifies the number of bytes to fill.

Return Values

If successful, returns 0. Otherwise, returns a nonzero error code.

Decimal

Name

Description

5

ERR_INVAL_ADDRESS

The specified address is out of the range of the memory allocated.

7

INVALID_DEST_ADDRESS

The destination address is not valid.

For other possible values, see Section 30.3, Return Values for ESM Functions.

See Also