{"id":51085128,"url":"https://github.com/maandree/slibc","last_synced_at":"2026-06-23T21:01:54.951Z","repository":{"id":145877970,"uuid":"41697072","full_name":"maandree/slibc","owner":"maandree","description":"Yet another C standard library","archived":false,"fork":false,"pushed_at":"2026-05-09T15:35:42.000Z","size":734,"stargazers_count":17,"open_issues_count":2,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-09T17:36:01.917Z","etag":null,"topics":["c","c-library","libc","standard-c-library"],"latest_commit_sha":null,"homepage":"https://codeberg.org/maandree/slibc","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maandree.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2015-08-31T19:50:19.000Z","updated_at":"2026-05-09T15:35:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"8156d824-a3d1-4995-b70e-4402b8a16697","html_url":"https://github.com/maandree/slibc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maandree/slibc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fslibc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fslibc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fslibc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fslibc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maandree","download_url":"https://codeload.github.com/maandree/slibc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fslibc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34706579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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","c-library","libc","standard-c-library"],"created_at":"2026-06-23T21:01:53.680Z","updated_at":"2026-06-23T21:01:54.945Z","avatar_url":"https://github.com/maandree.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n\tslibc - the Stockholm C Standard Library\n\nDESCRIPTION\n\tslibc is a POSIX C standard library. It aims to support\n\tISO C99, and newer versions of ISO C, other versions of C\n\tare ignored except for proper feature-test macros. Ignores\n\tall languages other than C, this means that slibc cannot be\n\tused in C++ by merely including the header files.\n\n\tIn addition to POSIX, slibc aims to support common\n\textensions, especially those in the GNU C Library because of\n\tits predominance on GNU systems. slibc also aims to fill the\n\tlacunæ in the C standard library specification, and make\n\tprogramming in C even easier by adding functions that would\n\tbe generally useful are impossible to implement efficiently\n\tin other libraries.\n\nFEATURE-TEST MACROS\n\tslibc defines a few slibc-specified feature-test macros:\n\n\t_SLIBC_SOURCE\n\t\tEnable slibc extensions. These extensions are\n\t\toften extensions introduced in other C libraries,\n\t\tbut are considered good extensions.\n\n\t\tslibc provides some slibc-specific extensions that\n\t\tdo not require _SLIBC_SOURCE. (They are however\n\t\tdisabled if _PORTABLE_SOURCE or _LIBRARY_HEADER are\n\t\tdefined.) These extensions are defined in header\n\t\tfiles whose name starts with 'slibc-'. Headers\n\t\tstarting with 'slibc/' are not extensions, those are\n\t\tinternals that may change at any time.\n\n\t_SLIBC_SUPPRESS_WARNINGS\n\t\tSuppress all #warning and other warnings, this is\n\t\tprimarily intended to be used when compiling slibc.\n\n\t_PORTABLE_SOURCE\n\t\tUnconditionally disable all non-POSIX extensions, and\n\t\totherwise help ensure that the source is portable.\n\n\t_LIBRARY_HEADER\n\t\tAlternative to _PORTABLE_SOURCE that should be used in\n\t\theader files for libraries. This allows you to be sure\n\t\tthat your library is portable between libc:s, and that\n\t\tsources using your library does not been to be compiled\n\t\twith the same libc. It is important to use this instead\n\t\tof _PORTABLE_SOURCE in library header files, otherwise\n\t\tthe user of the library cannot fully utilise\n\t\t_PORTABLE_SOURCE.\n\nCOMMENTS\n\tWriting a C standard library is a massive task. As I only have\n\tx86_64 hardware, I will require help write the assembly code\n\tfor other hardware. I also need help writing the texinfo manual\n\tand example code for functions, help figuring out the correct\n\tfeature-test macros for all functions, their etymology, and in\n\twhich libc implementions they appear. Help optimising all\n\tfunctions would also be appreciated.\n\nFUTURE DIRECTIONS\n       The macro _SMALL_BINARY shall, whenever available, create\n       macros that make the program use implementations of the functions\n       that are optimised for size rather than performance. It should\n       be compile-time selectable whether this macro has any effect,\n       or if it is always in effect. _FAST_BINARY could also be added\n       to make the program use fast implementations when the library\n       is compiled to use the size-optimised implementations.\n\nRATIONALE\n\tslibc is written as a learning exercise, and for fun.\n\nSEE ALSO\n\t\u003chttps://en.wikipedia.org/wiki/C_standard_library\u003e\n\n\tFull documentation available locally via: info '(slibc)'\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaandree%2Fslibc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaandree%2Fslibc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaandree%2Fslibc/lists"}