WIP: Move declarations here from std.c.* before deprecating it

Still working on this pull, minimal change made so far, but next iteration will probably have a lot more.