Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

PR_Delete

Syntax

#include <prio.h> 

PRStatus PR_Delete(const char *name);

Parameters

The function has the following parameter:

name
The pathname of the file to be deleted.

Returns

One of the following values:

  • If file is deleted successfully, PR_SUCCESS.
  • If the file is not deleted, PR_FAILURE.

Description

PR_Delete deletes a file with the specified pathname name. If the function fails, the error code can then be retrieved via PR_GetError.

 

Document Tags and Contributors

 Contributors to this page: teoli, kscarfone, balah
 Last updated by: teoli,