Files
lbmk/util/libreboot-utils/lottery.c
T
Leah Rowe 29296fc513 cleanup
Signed-off-by: Leah Rowe <leah@libreboot.org>
2026-03-27 22:58:12 +00:00

22 lines
533 B
C

/* SPDX-License-Identifier: MIT ( >:3 )
* Copyright (c) 2026 Leah Rowe <leah@libreboot.org> /| |\
Something something non-determinism / \ */
#include <stdio.h>
#include <stdint.h>
#include "include/common.h"
int
main(int argc, char **argv)
{
int same = 0;
(void) argc, (void) argv;
xpledgex("stdio", NULL);
if (rsize(SIZE_MAX) == rsize(SIZE_MAX))
same = 1;
printf("%s\n", same ? "You win!" : "You lose!");
return same ^ 1;
}