mlworks
mlworks copied to clipboard
Implement Posix.ProcEnv.getpid
Fixes issue #9.
- unix/unixos.sml, unix/_unixos.sml: Add structures Process and ProcEnv which have getpid but miss everything else needed to be standard compatible.
- unix/platform_specific_exports.sml: Make Posix an alias for UnixOS_. Of course many things are missing or wrong, but Posix.ProcEnv.getpid at least works.
- rts/src/OS/Unix/unix.c (unix_getpid): New.