mlworks icon indicating copy to clipboard operation
mlworks copied to clipboard

Implement Posix.ProcEnv.getpid

Open ellerh opened this issue 10 years ago • 0 comments

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.

ellerh avatar Oct 24 '14 16:10 ellerh