TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
EFI_STATUS | TypeFileByHandle (IN SHELL_FILE_HANDLE Handle, IN BOOLEAN Ascii, IN BOOLEAN UCS2) |
SHELL_STATUS EFIAPI | ShellCommandRunType (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC CONST SHELL_PARAM_ITEM | ParamList [] |
Main file for Type shell level 3 function.
(C) Copyright 2013-2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Type.c.
SHELL_STATUS EFIAPI ShellCommandRunType | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
EFI_STATUS TypeFileByHandle | ( | IN SHELL_FILE_HANDLE | Handle, |
IN BOOLEAN | Ascii, | ||
IN BOOLEAN | UCS2 | ||
) |
Display a single file to StdOut.
If both Ascii and UCS2 are FALSE attempt to discover the file type.
[in] | Handle | The handle to the file to display. |
[in] | Ascii | TRUE to force ASCII, FALSE othewise. |
[in] | UCS2 | TRUE to force UCS2, FALSE othewise. |
EFI_OUT_OF_RESOURCES | A memory allocation failed. |
EFI_SUCCESS | The operation was successful. |