NXDirEnumEnd

Completes and cleans up a previously initiated directory entry enumeration operation.

Library:LibC
Classification:NKS
Service:File and Directory I/O

Syntax

  #include <nks/dirio.h> 
   
  int NXDirEnumEnd (
     NXHandle_t   handle);
  

Parameters

handle

(IN) Specifies the handle for the directory enumeration operation, as returned by NXDirEnumStart.

Return Values

If successful, returns 0. Otherwise, returns one of the following error codes:

Decimal

Hex

Constant

Description

4

0x04

NX_EBADF

The handle parameter is not a valid handle.

9

0x09

NX_EINVAL

The handle parameter is invalid.

Remarks

NXDirEnumEnd cleans up a directory entry enumeration operation that was previously initiated by calling NXDirEnumStart.

See Also