LabWindows/CVI

Content Type
Programming Language
Current manual

DeleteDir

DeleteDir

int DeleteDir (char directoryName[]);

Purpose

Deletes an existing directory.

Parameters

Input
Name Type Description
directoryName char [] The pathname of the directory to delete.

Return Value

Name Type Description
result int The result of the call.

Code Description
0 Success.
-1 Directory not found.
-3 General I/O error occurred.
-4 Insufficient memory to complete operation.
-6 Access denied, or directory not empty.
-7 Path is a file, not a directory.

Additional Information

Library: Utility Library

Include file: utility.h

LabWindows/CVI compatibility: LabWindows/CVI 3.0 and later

Was this information helpful?

Previous

MakeDir

Previous

MakeDir