int libmem_erase_all | ( | void |  | ) |
| Erase all memory using LIBMEM drivers. Returns: The LIBMEM status result. This function iterates through all registered LIBMEM drivers calling each driver's erase function specifying the drivers entire memory range as its parameters. The function will terminate if any of the driver's erase functions return a result other than LIBMEM_STATUS_SUCCESS. Example:
        int res;

        res = libmem_erase_all();

        if (res == LIBMEM_STATUS_SUCCESS)
          printf("libmem_erase_all : success\n");
        else
          printf("libmem_erase_all : failed (%d)\n", res);