user_wordsize.py 237 B

123456789101112
  1. # Copyright (c) 2020, Friedt Professional Engineering Services, Inc
  2. #
  3. # SPDX-License-Identifier: Apache-2.0
  4. import struct
  5. import sys
  6. def main():
  7. print(struct.calcsize("P") * 8)
  8. sys.exit(0)
  9. if __name__ == "__main__":
  10. main()