{"id":22293540,"url":"https://github.com/gsemac/hvn3-environment","last_synced_at":"2025-10-08T07:34:22.908Z","repository":{"id":112965158,"uuid":"100091368","full_name":"gsemac/hvn3-environment","owner":"gsemac","description":"Utilities for getting information about the current platform","archived":false,"fork":false,"pushed_at":"2017-08-22T21:16:45.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-26T22:04:02.862Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/gsemac.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-12T05:28:50.000Z","updated_at":"2017-08-12T06:23:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7cc564c-bf9c-4605-8df1-011ae68ea7bb","html_url":"https://github.com/gsemac/hvn3-environment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gsemac/hvn3-environment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsemac%2Fhvn3-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsemac%2Fhvn3-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsemac%2Fhvn3-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsemac%2Fhvn3-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gsemac","download_url":"https://codeload.github.com/gsemac/hvn3-environment/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gsemac%2Fhvn3-environment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278909578,"owners_count":26066887,"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-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-12-03T17:29:32.607Z","updated_at":"2025-10-08T07:34:22.867Z","avatar_url":"https://github.com/gsemac.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## hvn3-environment\n\nThis is a standalone component of [hvn3-engine](https://github.com/gsemac/hvn3-engine) intended for getting information about the runtime environment of the program.\n\n#### OperatingSystemDefs.h\n\n`OperatingSystemDefs.h` defines `HVN3_OS_WINDOWS` on Windows, `HVN3_OS_MACOS` on MacOS, `HVN3_OS_LINUX` on Linux, `HVN3_OS_UNIX` on Unix, and `HVN3_OS_FREEBSD` on FreeBSD, providing an easy way to determine the current operating system without having to check for various standard and non-standard definitions.\n\nIt also defines `HVN3_OS_X64` on 64-bit operating systems, and `HVN3_OS_X86` on 32-bit operating systems. To detect Unix-based operating systems generically, `HVN3_OS_UNIX_BASED` is also defined on Unix-based platforms.\n\n#### Environment.h\n\n`Environment.h` offers a cross-platform interface for getting information about the runtime environment, including the current user's user name, the number of processors on the current machine, and the amount of memory mapped to the current process.\n\n#### OperatingSystem.h\n\n`OperatingSystem.h` contains declarations for platform enumeration types and the `PlatformInfo` class. The `OperatingSystemInfo` function returns a `PlatformInfo` instance containing information such as the current platform, platform name, and platform version.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsemac%2Fhvn3-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgsemac%2Fhvn3-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgsemac%2Fhvn3-environment/lists"}