Skip to content

Instantly share code, notes, and snippets.

@klange
Created June 16, 2021 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save klange/f72950c8de59f9c4a36f3dd02265f5ff to your computer and use it in GitHub Desktop.
Save klange/f72950c8de59f9c4a36f3dd02265f5ff to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stddef.h>
#include <efi/efi.h>
#include <efi/efiapi.h>
int main(int argc, char * argv[]) {
printf("offsetof(EFI_SYSTEM_TABLE, ConOut) = %zu\n", offsetof(EFI_SYSTEM_TABLE, ConOut));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment