TianoCore EDK2 master
|
#include <Uefi.h>
#include <Library/UefiLib.h>
#include <Library/DebugLib.h>
#include <Library/ShellCEntryLib.h>
#include <Library/SortLib.h>
Go to the source code of this file.
Functions | |
INTN EFIAPI | Test (CONST VOID *b1, CONST VOID *b2) |
INTN EFIAPI | ShellAppMain (IN UINTN Argc, IN CHAR16 **Argv) |
This is a test application that demonstrates how to use the sorting functions.
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ShellSortTestApp.c.
UEFI application entry point which has an interface similar to a standard C main function.
The ShellCEntryLib library instance wrappers the actual UEFI application entry point and calls this ShellAppMain function.
Argc | Argument count |
Argv | The parsed arguments |
0 | The application exited normally. |
Other | An error occurred. |
Definition at line 59 of file ShellSortTestApp.c.
Test comparator.
[in] | b1 | The first INTN |
[in] | b2 | The other INTN |
0 | They are the same. |
-1 | b1 is less than b2 |
1 | b1 is greater then b2 |
Definition at line 27 of file ShellSortTestApp.c.