|
OpenCore
1.0.5
OpenCore Bootloader
|
#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <string.h>Go to the source code of this file.
Functions | |
| UINT8 * | UserReadFile (IN CONST CHAR8 *FileName, OUT UINT32 *Size) |
| VOID | UserWriteFile (IN CONST CHAR8 *FileName, IN CONST VOID *Data, IN UINT32 Size) |
Copyright (c) 2020, PMheart. All rights reserved. SPDX-License-Identifier: BSD-3-Clause
Definition in file UserFile.h.
| UINT8 * UserReadFile | ( | IN CONST CHAR8 * | FileName, |
| OUT UINT32 * | Size ) |
Read a file on disk into buffer.
| [in] | FileName | ASCII string containing the name of the file to be opened. |
| [out] | Size | Size of the file. |
Definition at line 62 of file UserFile.c.
| VOID UserWriteFile | ( | IN CONST CHAR8 * | FileName, |
| IN CONST VOID * | Data, | ||
| IN UINT32 | Size ) |
Write the buffer to the file.
| [in] | FileName | Output filename. |
| [in] | Data | Data to write. |
| [in] | Size | Size of the output file. |
Definition at line 116 of file UserFile.c.