first try at implementing getdate function
[musl] / crt / crt1.c