{"action":"created","comment":{"url":"https://api.github.com/repos/scala-native/scala-native/pulls/comments/114504816","pull_request_review_id":35972312,"id":114504816,"diff_hunk":"@@ -0,0 +1,132 @@\n+package scala.scalanative\n+package posix.sys\n+\n+import native._\n+import types.{mode_t, off_t}\n+\n+@extern\n+object mman {\n+  def mmap(addr: Ptr[Byte],\n+           len: CSize,\n+           prot: CInt,\n+           flags: CInt,\n+           fd: CInt,\n+           offset: off_t): Ptr[Byte] = extern\n+\n+  /* Deallocate any mapping for the region starting at ADDR and extending LEN\n+   bytes.  Returns 0 if successful, -1 for errors (and sets errno).  */","path":"nativelib/src/main/scala/scala/scalanative/posix/sys/mman.scala","position":17,"original_position":17,"commit_id":"86c7900ac926736b4d299770b06a3388c682a0ca","original_commit_id":"86c7900ac926736b4d299770b06a3388c682a0ca","user":{"login":"densh","id":320966,"avatar_url":"https://avatars3.githubusercontent.com/u/320966?v=3","gravatar_id":"","url":"https://api.github.com/users/densh","html_url":"https://github.com/densh","followers_url":"https://api.github.com/users/densh/followers","following_url":"https://api.github.com/users/densh/following{/other_user}","gists_url":"https://api.github.com/users/densh/gists{/gist_id}","starred_url":"https://api.github.com/users/densh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/densh/subscriptions","organizations_url":"https://api.github.com/users/densh/orgs","repos_url":"https://api.github.com/users/densh/repos","events_url":"https://api.github.com/users/densh/events{/privacy}","received_events_url":"https://api.github.com/users/densh/received_events","type":"User","site_admin":false},"body":"We don't include doc comments for bindings as the exact behavior might differ per platform.","created_at":"2017-05-03T09:35:57Z","updated_at":"2017-05-03T10:02:47Z","html_url":"https://github.com/scala-native/scala-native/pull/530#discussion_r114504816","pull_request_url":"https://api.github.com/repos/scala-native/scala-native/pulls/530","_links":{"self":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/comments/114504816"},"html":{"href":"https://github.com/scala-native/scala-native/pull/530#discussion_r114504816"},"pull_request":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/530"}}},"pull_request":{"url":"https://api.github.com/repos/scala-native/scala-native/pulls/530","id":108613841,"html_url":"https://github.com/scala-native/scala-native/pull/530","diff_url":"https://github.com/scala-native/scala-native/pull/530.diff","patch_url":"https://github.com/scala-native/scala-native/pull/530.patch","issue_url":"https://api.github.com/repos/scala-native/scala-native/issues/530","number":530,"state":"open","locked":false,"title":"linux syscalls","user":{"login":"Korf74","id":15185503,"avatar_url":"https://avatars3.githubusercontent.com/u/15185503?v=3","gravatar_id":"","url":"https://api.github.com/users/Korf74","html_url":"https://github.com/Korf74","followers_url":"https://api.github.com/users/Korf74/followers","following_url":"https://api.github.com/users/Korf74/following{/other_user}","gists_url":"https://api.github.com/users/Korf74/gists{/gist_id}","starred_url":"https://api.github.com/users/Korf74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korf74/subscriptions","organizations_url":"https://api.github.com/users/Korf74/orgs","repos_url":"https://api.github.com/users/Korf74/repos","events_url":"https://api.github.com/users/Korf74/events{/privacy}","received_events_url":"https://api.github.com/users/Korf74/received_events","type":"User","site_admin":false},"body":"I  implemented part of the native linux system calls.","created_at":"2017-03-01T19:45:29Z","updated_at":"2017-05-03T10:02:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5ad3b4902272d0c2223c961d6556296a7e4414a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/scala-native/scala-native/pulls/530/commits","review_comments_url":"https://api.github.com/repos/scala-native/scala-native/pulls/530/comments","review_comment_url":"https://api.github.com/repos/scala-native/scala-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scala-native/scala-native/issues/530/comments","statuses_url":"https://api.github.com/repos/scala-native/scala-native/statuses/86c7900ac926736b4d299770b06a3388c682a0ca","head":{"label":"Korf74:syscalls","ref":"syscalls","sha":"86c7900ac926736b4d299770b06a3388c682a0ca","user":{"login":"Korf74","id":15185503,"avatar_url":"https://avatars3.githubusercontent.com/u/15185503?v=3","gravatar_id":"","url":"https://api.github.com/users/Korf74","html_url":"https://github.com/Korf74","followers_url":"https://api.github.com/users/Korf74/followers","following_url":"https://api.github.com/users/Korf74/following{/other_user}","gists_url":"https://api.github.com/users/Korf74/gists{/gist_id}","starred_url":"https://api.github.com/users/Korf74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korf74/subscriptions","organizations_url":"https://api.github.com/users/Korf74/orgs","repos_url":"https://api.github.com/users/Korf74/repos","events_url":"https://api.github.com/users/Korf74/events{/privacy}","received_events_url":"https://api.github.com/users/Korf74/received_events","type":"User","site_admin":false},"repo":{"id":83359415,"name":"scala-native","full_name":"Korf74/scala-native","owner":{"login":"Korf74","id":15185503,"avatar_url":"https://avatars3.githubusercontent.com/u/15185503?v=3","gravatar_id":"","url":"https://api.github.com/users/Korf74","html_url":"https://github.com/Korf74","followers_url":"https://api.github.com/users/Korf74/followers","following_url":"https://api.github.com/users/Korf74/following{/other_user}","gists_url":"https://api.github.com/users/Korf74/gists{/gist_id}","starred_url":"https://api.github.com/users/Korf74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Korf74/subscriptions","organizations_url":"https://api.github.com/users/Korf74/orgs","repos_url":"https://api.github.com/users/Korf74/repos","events_url":"https://api.github.com/users/Korf74/events{/privacy}","received_events_url":"https://api.github.com/users/Korf74/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Korf74/scala-native","description":"Your favourite language gets closer to bare metal.","fork":true,"url":"https://api.github.com/repos/Korf74/scala-native","forks_url":"https://api.github.com/repos/Korf74/scala-native/forks","keys_url":"https://api.github.com/repos/Korf74/scala-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Korf74/scala-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Korf74/scala-native/teams","hooks_url":"https://api.github.com/repos/Korf74/scala-native/hooks","issue_events_url":"https://api.github.com/repos/Korf74/scala-native/issues/events{/number}","events_url":"https://api.github.com/repos/Korf74/scala-native/events","assignees_url":"https://api.github.com/repos/Korf74/scala-native/assignees{/user}","branches_url":"https://api.github.com/repos/Korf74/scala-native/branches{/branch}","tags_url":"https://api.github.com/repos/Korf74/scala-native/tags","blobs_url":"https://api.github.com/repos/Korf74/scala-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Korf74/scala-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Korf74/scala-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/Korf74/scala-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Korf74/scala-native/statuses/{sha}","languages_url":"https://api.github.com/repos/Korf74/scala-native/languages","stargazers_url":"https://api.github.com/repos/Korf74/scala-native/stargazers","contributors_url":"https://api.github.com/repos/Korf74/scala-native/contributors","subscribers_url":"https://api.github.com/repos/Korf74/scala-native/subscribers","subscription_url":"https://api.github.com/repos/Korf74/scala-native/subscription","commits_url":"https://api.github.com/repos/Korf74/scala-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/Korf74/scala-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/Korf74/scala-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/Korf74/scala-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/Korf74/scala-native/contents/{+path}","compare_url":"https://api.github.com/repos/Korf74/scala-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Korf74/scala-native/merges","archive_url":"https://api.github.com/repos/Korf74/scala-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Korf74/scala-native/downloads","issues_url":"https://api.github.com/repos/Korf74/scala-native/issues{/number}","pulls_url":"https://api.github.com/repos/Korf74/scala-native/pulls{/number}","milestones_url":"https://api.github.com/repos/Korf74/scala-native/milestones{/number}","notifications_url":"https://api.github.com/repos/Korf74/scala-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Korf74/scala-native/labels{/name}","releases_url":"https://api.github.com/repos/Korf74/scala-native/releases{/id}","deployments_url":"https://api.github.com/repos/Korf74/scala-native/deployments","created_at":"2017-02-27T21:36:45Z","updated_at":"2017-02-27T21:36:48Z","pushed_at":"2017-05-02T20:28:20Z","git_url":"git://github.com/Korf74/scala-native.git","ssh_url":"git@github.com:Korf74/scala-native.git","clone_url":"https://github.com/Korf74/scala-native.git","svn_url":"https://github.com/Korf74/scala-native","homepage":"http://scala-native.org","size":4164,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"scala-native:master","ref":"master","sha":"f1ff1eae8014251d66a8bc76eb0caeef77507f6f","user":{"login":"scala-native","id":17545605,"avatar_url":"https://avatars1.githubusercontent.com/u/17545605?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-native","html_url":"https://github.com/scala-native","followers_url":"https://api.github.com/users/scala-native/followers","following_url":"https://api.github.com/users/scala-native/following{/other_user}","gists_url":"https://api.github.com/users/scala-native/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-native/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-native/subscriptions","organizations_url":"https://api.github.com/users/scala-native/orgs","repos_url":"https://api.github.com/users/scala-native/repos","events_url":"https://api.github.com/users/scala-native/events{/privacy}","received_events_url":"https://api.github.com/users/scala-native/received_events","type":"Organization","site_admin":false},"repo":{"id":27235687,"name":"scala-native","full_name":"scala-native/scala-native","owner":{"login":"scala-native","id":17545605,"avatar_url":"https://avatars1.githubusercontent.com/u/17545605?v=3","gravatar_id":"","url":"https://api.github.com/users/scala-native","html_url":"https://github.com/scala-native","followers_url":"https://api.github.com/users/scala-native/followers","following_url":"https://api.github.com/users/scala-native/following{/other_user}","gists_url":"https://api.github.com/users/scala-native/gists{/gist_id}","starred_url":"https://api.github.com/users/scala-native/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scala-native/subscriptions","organizations_url":"https://api.github.com/users/scala-native/orgs","repos_url":"https://api.github.com/users/scala-native/repos","events_url":"https://api.github.com/users/scala-native/events{/privacy}","received_events_url":"https://api.github.com/users/scala-native/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scala-native/scala-native","description":"Your favorite language gets closer to bare metal.","fork":false,"url":"https://api.github.com/repos/scala-native/scala-native","forks_url":"https://api.github.com/repos/scala-native/scala-native/forks","keys_url":"https://api.github.com/repos/scala-native/scala-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scala-native/scala-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scala-native/scala-native/teams","hooks_url":"https://api.github.com/repos/scala-native/scala-native/hooks","issue_events_url":"https://api.github.com/repos/scala-native/scala-native/issues/events{/number}","events_url":"https://api.github.com/repos/scala-native/scala-native/events","assignees_url":"https://api.github.com/repos/scala-native/scala-native/assignees{/user}","branches_url":"https://api.github.com/repos/scala-native/scala-native/branches{/branch}","tags_url":"https://api.github.com/repos/scala-native/scala-native/tags","blobs_url":"https://api.github.com/repos/scala-native/scala-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scala-native/scala-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scala-native/scala-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/scala-native/scala-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scala-native/scala-native/statuses/{sha}","languages_url":"https://api.github.com/repos/scala-native/scala-native/languages","stargazers_url":"https://api.github.com/repos/scala-native/scala-native/stargazers","contributors_url":"https://api.github.com/repos/scala-native/scala-native/contributors","subscribers_url":"https://api.github.com/repos/scala-native/scala-native/subscribers","subscription_url":"https://api.github.com/repos/scala-native/scala-native/subscription","commits_url":"https://api.github.com/repos/scala-native/scala-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/scala-native/scala-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/scala-native/scala-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/scala-native/scala-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/scala-native/scala-native/contents/{+path}","compare_url":"https://api.github.com/repos/scala-native/scala-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scala-native/scala-native/merges","archive_url":"https://api.github.com/repos/scala-native/scala-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scala-native/scala-native/downloads","issues_url":"https://api.github.com/repos/scala-native/scala-native/issues{/number}","pulls_url":"https://api.github.com/repos/scala-native/scala-native/pulls{/number}","milestones_url":"https://api.github.com/repos/scala-native/scala-native/milestones{/number}","notifications_url":"https://api.github.com/repos/scala-native/scala-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scala-native/scala-native/labels{/name}","releases_url":"https://api.github.com/repos/scala-native/scala-native/releases{/id}","deployments_url":"https://api.github.com/repos/scala-native/scala-native/deployments","created_at":"2014-11-27T17:38:28Z","updated_at":"2017-05-02T20:11:57Z","pushed_at":"2017-05-02T20:28:21Z","git_url":"git://github.com/scala-native/scala-native.git","ssh_url":"git@github.com:scala-native/scala-native.git","clone_url":"https://github.com/scala-native/scala-native.git","svn_url":"https://github.com/scala-native/scala-native","homepage":"http://scala-native.org","size":4066,"stargazers_count":2757,"watchers_count":2757,"language":"Scala","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":157,"mirror_url":null,"open_issues_count":128,"forks":157,"open_issues":128,"watchers":2757,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/530"},"html":{"href":"https://github.com/scala-native/scala-native/pull/530"},"issue":{"href":"https://api.github.com/repos/scala-native/scala-native/issues/530"},"comments":{"href":"https://api.github.com/repos/scala-native/scala-native/issues/530/comments"},"review_comments":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/530/comments"},"review_comment":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scala-native/scala-native/pulls/530/commits"},"statuses":{"href":"https://api.github.com/repos/scala-native/scala-native/statuses/86c7900ac926736b4d299770b06a3388c682a0ca"}}}}
{"actor":{"display_login":"densh"}}