{"id":460,"date":"2024-10-11T12:48:28","date_gmt":"2024-10-11T11:48:28","guid":{"rendered":"http:\/\/monkey.ploogie.co.uk\/?page_id=460"},"modified":"2024-10-11T12:48:28","modified_gmt":"2024-10-11T11:48:28","slug":"mwnci-issetgid-function","status":"publish","type":"page","link":"https:\/\/monkey.ploogie.co.uk\/index.php\/mwnci-issetgid-function\/","title":{"rendered":"Mwnci issetgid() Function"},"content":{"rendered":"<h2>Syntax<\/h2>\n<p>issetgid<strong>(<em>string<\/em>)<\/strong><\/p>\n<h2>Description<\/h2>\n<p>The <i>issetgid()<\/i> function returns <em>true<\/em> if the path points to a file that has the setgid bit set for file permissions<\/p>\n<h2>Example<\/h2>\n<pre>include(\"file\")\r\nprintln(issetgid(\"\/usr\/bin\/ssh-agent\"))\r\nprintln(issetgid(\"\/usr\/bin\/passwd\"))\r\n\r\ntrue\r\nfalse\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Syntax issetgid(string) Description The issetgid() function returns true if the path points to a file that has the setgid bit set for file permissions Example include(&#8220;file&#8221;) println(issetgid(&#8220;\/usr\/bin\/ssh-agent&#8221;)) println(issetgid(&#8220;\/usr\/bin\/passwd&#8221;)) true false<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-460","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=460"}],"version-history":[{"count":1,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/460\/revisions"}],"predecessor-version":[{"id":461,"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/pages\/460\/revisions\/461"}],"wp:attachment":[{"href":"https:\/\/monkey.ploogie.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}