{"action":"created","comment":{"url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/comments/28866444","id":28866444,"diff_hunk":"@@ -0,0 +1,29 @@\n+#include <stdio.h>\n+\n+int main(int argc, char* argv[], char* envp[]) \n+{\n+\tif (argc > 1)\n+\t{\n+\t\tint v = 0;\n+\t\tchar* value;\n+\n+\t\tif (argc > 2)\n+\t\t{\n+\t\t\tif (strcmp(argv[1], \"-v\") == 0)\n+\t\t\t\tv++;\n+\t\t}\n+\t\t\n+\t\tvalue = getenv(argv[1+v]);\n+\t\tif (value != NULL)\n+\t\t{\n+\t\t\tif (v)\n+\t\t\t\tprintf(\"%s = %s\\n\", argv[1+v], value);\n+\t\t\treturn 0; \n+\t\t}\n+\t\telse if (v)\n+\t\t\tprintf(\"%s ist nicht gesetzt.\\n\", argv[1+v]);\n+  \t}\n+\telse\n+\t\tprintf(\"Bitte eine Umgebungsvariable als Parameter angeben.\\n\");\n+  \treturn 1;\n+}","path":"isset.c","position":29,"original_position":29,"commit_id":"034ee2bb94f792734b2c481ccd5ffc60c29e190c","original_commit_id":"034ee2bb94f792734b2c481ccd5ffc60c29e190c","user":{"login":"AB311855","id":11737198,"avatar_url":"https://avatars.githubusercontent.com/u/11737198?v=3","gravatar_id":"","url":"https://api.github.com/users/AB311855","html_url":"https://github.com/AB311855","followers_url":"https://api.github.com/users/AB311855/followers","following_url":"https://api.github.com/users/AB311855/following{/other_user}","gists_url":"https://api.github.com/users/AB311855/gists{/gist_id}","starred_url":"https://api.github.com/users/AB311855/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AB311855/subscriptions","organizations_url":"https://api.github.com/users/AB311855/orgs","repos_url":"https://api.github.com/users/AB311855/repos","events_url":"https://api.github.com/users/AB311855/events{/privacy}","received_events_url":"https://api.github.com/users/AB311855/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2015-04-22T12:18:02Z","updated_at":"2015-04-22T12:18:02Z","html_url":"https://github.com/RWTH-OS/gi4_uebung01/pull/11#discussion_r28866444","pull_request_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/comments/28866444"},"html":{"href":"https://github.com/RWTH-OS/gi4_uebung01/pull/11#discussion_r28866444"},"pull_request":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/11","id":33396533,"html_url":"https://github.com/RWTH-OS/gi4_uebung01/pull/11","diff_url":"https://github.com/RWTH-OS/gi4_uebung01/pull/11.diff","patch_url":"https://github.com/RWTH-OS/gi4_uebung01/pull/11.patch","issue_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/issues/11","number":11,"state":"open","locked":false,"title":"Meine Lösungen für Uebung01","user":{"login":"FriedlM","id":11966462,"avatar_url":"https://avatars.githubusercontent.com/u/11966462?v=3","gravatar_id":"","url":"https://api.github.com/users/FriedlM","html_url":"https://github.com/FriedlM","followers_url":"https://api.github.com/users/FriedlM/followers","following_url":"https://api.github.com/users/FriedlM/following{/other_user}","gists_url":"https://api.github.com/users/FriedlM/gists{/gist_id}","starred_url":"https://api.github.com/users/FriedlM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriedlM/subscriptions","organizations_url":"https://api.github.com/users/FriedlM/orgs","repos_url":"https://api.github.com/users/FriedlM/repos","events_url":"https://api.github.com/users/FriedlM/events{/privacy}","received_events_url":"https://api.github.com/users/FriedlM/received_events","type":"User","site_admin":false},"body":"Meine Lösungen für Aufgabe 1-3.\r\nOhne Aufgabe 4 (Zusatzaufgabe).\r\n\r\nMarian Friedl","created_at":"2015-04-15T21:07:20Z","updated_at":"2015-04-22T12:18:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f107b77a4a7b615eae7b27439575c37042f393c8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/11/commits","review_comments_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/11/comments","review_comment_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/issues/11/comments","statuses_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/statuses/034ee2bb94f792734b2c481ccd5ffc60c29e190c","head":{"label":"FriedlM:master","ref":"master","sha":"034ee2bb94f792734b2c481ccd5ffc60c29e190c","user":{"login":"FriedlM","id":11966462,"avatar_url":"https://avatars.githubusercontent.com/u/11966462?v=3","gravatar_id":"","url":"https://api.github.com/users/FriedlM","html_url":"https://github.com/FriedlM","followers_url":"https://api.github.com/users/FriedlM/followers","following_url":"https://api.github.com/users/FriedlM/following{/other_user}","gists_url":"https://api.github.com/users/FriedlM/gists{/gist_id}","starred_url":"https://api.github.com/users/FriedlM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriedlM/subscriptions","organizations_url":"https://api.github.com/users/FriedlM/orgs","repos_url":"https://api.github.com/users/FriedlM/repos","events_url":"https://api.github.com/users/FriedlM/events{/privacy}","received_events_url":"https://api.github.com/users/FriedlM/received_events","type":"User","site_admin":false},"repo":{"id":34010583,"name":"gi4_uebung01","full_name":"FriedlM/gi4_uebung01","owner":{"login":"FriedlM","id":11966462,"avatar_url":"https://avatars.githubusercontent.com/u/11966462?v=3","gravatar_id":"","url":"https://api.github.com/users/FriedlM","html_url":"https://github.com/FriedlM","followers_url":"https://api.github.com/users/FriedlM/followers","following_url":"https://api.github.com/users/FriedlM/following{/other_user}","gists_url":"https://api.github.com/users/FriedlM/gists{/gist_id}","starred_url":"https://api.github.com/users/FriedlM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriedlM/subscriptions","organizations_url":"https://api.github.com/users/FriedlM/orgs","repos_url":"https://api.github.com/users/FriedlM/repos","events_url":"https://api.github.com/users/FriedlM/events{/privacy}","received_events_url":"https://api.github.com/users/FriedlM/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FriedlM/gi4_uebung01","description":"GI4 - Übung 1","fork":true,"url":"https://api.github.com/repos/FriedlM/gi4_uebung01","forks_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/forks","keys_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/teams","hooks_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/hooks","issue_events_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/issues/events{/number}","events_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/events","assignees_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/assignees{/user}","branches_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/branches{/branch}","tags_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/tags","blobs_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/statuses/{sha}","languages_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/languages","stargazers_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/stargazers","contributors_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/contributors","subscribers_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/subscribers","subscription_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/subscription","commits_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/contents/{+path}","compare_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/merges","archive_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/downloads","issues_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/issues{/number}","pulls_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/pulls{/number}","milestones_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/milestones{/number}","notifications_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/labels{/name}","releases_url":"https://api.github.com/repos/FriedlM/gi4_uebung01/releases{/id}","created_at":"2015-04-15T18:14:37Z","updated_at":"2015-04-15T20:59:42Z","pushed_at":"2015-04-15T20:59:41Z","git_url":"git://github.com/FriedlM/gi4_uebung01.git","ssh_url":"git@github.com:FriedlM/gi4_uebung01.git","clone_url":"https://github.com/FriedlM/gi4_uebung01.git","svn_url":"https://github.com/FriedlM/gi4_uebung01","homepage":"http://www.acs.eonerc.rwth-aachen.de/cms/E-ON-ERC-ACS/Studium/Lehrveranstaltungen/~fyrr/Grundgebiete-der-Informatik/","size":764,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"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":"RWTH-OS:master","ref":"master","sha":"86294c5fd3c49a6b4a0075094138d0de28edf19b","user":{"login":"RWTH-OS","id":6057191,"avatar_url":"https://avatars.githubusercontent.com/u/6057191?v=3","gravatar_id":"","url":"https://api.github.com/users/RWTH-OS","html_url":"https://github.com/RWTH-OS","followers_url":"https://api.github.com/users/RWTH-OS/followers","following_url":"https://api.github.com/users/RWTH-OS/following{/other_user}","gists_url":"https://api.github.com/users/RWTH-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RWTH-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RWTH-OS/subscriptions","organizations_url":"https://api.github.com/users/RWTH-OS/orgs","repos_url":"https://api.github.com/users/RWTH-OS/repos","events_url":"https://api.github.com/users/RWTH-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RWTH-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":32733750,"name":"gi4_uebung01","full_name":"RWTH-OS/gi4_uebung01","owner":{"login":"RWTH-OS","id":6057191,"avatar_url":"https://avatars.githubusercontent.com/u/6057191?v=3","gravatar_id":"","url":"https://api.github.com/users/RWTH-OS","html_url":"https://github.com/RWTH-OS","followers_url":"https://api.github.com/users/RWTH-OS/followers","following_url":"https://api.github.com/users/RWTH-OS/following{/other_user}","gists_url":"https://api.github.com/users/RWTH-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RWTH-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RWTH-OS/subscriptions","organizations_url":"https://api.github.com/users/RWTH-OS/orgs","repos_url":"https://api.github.com/users/RWTH-OS/repos","events_url":"https://api.github.com/users/RWTH-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RWTH-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RWTH-OS/gi4_uebung01","description":"GI4 - Übung 1","fork":false,"url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01","forks_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/forks","keys_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/teams","hooks_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/hooks","issue_events_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/issues/events{/number}","events_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/events","assignees_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/assignees{/user}","branches_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/branches{/branch}","tags_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/tags","blobs_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/git/refs{/sha}","trees_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/statuses/{sha}","languages_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/languages","stargazers_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/stargazers","contributors_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/contributors","subscribers_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/subscribers","subscription_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/subscription","commits_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/commits{/sha}","git_commits_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/git/commits{/sha}","comments_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/comments{/number}","issue_comment_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/issues/comments{/number}","contents_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/contents/{+path}","compare_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/merges","archive_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/downloads","issues_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/issues{/number}","pulls_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls{/number}","milestones_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/milestones{/number}","notifications_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/labels{/name}","releases_url":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/releases{/id}","created_at":"2015-03-23T13:27:40Z","updated_at":"2015-04-15T18:28:02Z","pushed_at":"2015-04-17T09:52:56Z","git_url":"git://github.com/RWTH-OS/gi4_uebung01.git","ssh_url":"git@github.com:RWTH-OS/gi4_uebung01.git","clone_url":"https://github.com/RWTH-OS/gi4_uebung01.git","svn_url":"https://github.com/RWTH-OS/gi4_uebung01","homepage":"http://www.acs.eonerc.rwth-aachen.de/cms/E-ON-ERC-ACS/Studium/Lehrveranstaltungen/~fyrr/Grundgebiete-der-Informatik/","size":764,"stargazers_count":0,"watchers_count":0,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":15,"forks":33,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/11"},"html":{"href":"https://github.com/RWTH-OS/gi4_uebung01/pull/11"},"issue":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/issues/11"},"comments":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/RWTH-OS/gi4_uebung01/statuses/034ee2bb94f792734b2c481ccd5ffc60c29e190c"}}}}