[HN Gopher] Wrote a custom libc for POSIX and x86-64
___________________________________________________________________
Wrote a custom libc for POSIX and x86-64
Author : elricmann
Score : 13 points
Date : 2024-12-01 15:34 UTC (5 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| bitwize wrote:
| What motivated your choice to make a single-header libc?
| davidt84 wrote:
| What do you mean by "for POSIX"?
|
| Why have you posted a link to an empty README?
|
| And just... why?
| stonogo wrote:
| I don't know why the down votes here... Maybe the last
| question?
|
| POSIX mandates various header files; it is not possible to
| implement a single-header library in a POSIX compliant manner.
| Plus this library implements the ANSI c standard library and
| contains none of the POSIX c things like nl_types and so forth.
| It is definitely a confusing description.
| sushidev wrote:
| How much of libc does it cover? How it's different from libc?
| 082349872349872 wrote:
| At a quick glance, it's missing at least _malloc_ (3) and
| _printf_ (3); I'd guess much more besides.
___________________________________________________________________
(page generated 2024-12-06 23:01 UTC)