{"id":23410889,"url":"https://github.com/spl/c-type-sizes","last_synced_at":"2025-08-07T18:51:45.303Z","repository":{"id":21707554,"uuid":"25029016","full_name":"spl/c-type-sizes","owner":"spl","description":"A simple C program to print type sizes","archived":false,"fork":false,"pushed_at":"2015-08-22T11:13:21.000Z","size":196,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-21T13:43:18.245Z","etag":null,"topics":["c","types"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-10T09:27:41.000Z","updated_at":"2019-09-07T14:36:15.000Z","dependencies_parsed_at":"2022-08-19T00:01:45.231Z","dependency_job_id":null,"html_url":"https://github.com/spl/c-type-sizes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spl/c-type-sizes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fc-type-sizes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fc-type-sizes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fc-type-sizes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fc-type-sizes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spl","download_url":"https://codeload.github.com/spl/c-type-sizes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spl%2Fc-type-sizes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267490586,"owners_count":24096001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","types"],"created_at":"2024-12-22T17:53:13.829Z","updated_at":"2025-07-28T09:10:00.228Z","avatar_url":"https://github.com/spl.png","language":"C","readme":"# C Type Sizes\n\nI'm occasionally wondering what the sizes of C types are on my machine. This\n[program](./main.c) prints out the sizes of primitive types and `stdint.h`\ntypes.\n\nI've written this program before, and I didn't want to write it again. Consider\nthis my final word on the matter.\n\nBut it's not the final word on the subject. Ultimately, I'd like to have this be\na very portable (but still simple) program that runs on any machine and prints\nout all the useful types for that architecture and compiler.\n\nPossible improvements:\n\n* Add more useful types\n* Display compiler and architecture information\n* Support compilers other than `cc`\n* Support Microsoft Windows/Visual Studio (which I don't have)\n* Make `stdint.h` use optional for systems without it\n\nPull requests welcome!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspl%2Fc-type-sizes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspl%2Fc-type-sizes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspl%2Fc-type-sizes/lists"}