site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=watlock.be; s=whs1; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:from; bh=XHDmzR0c0NHpDL4W9FzgKnPmncrcaBN1XHlmEpq1WPo=; b=PlI2BYGLIhieYlYth9q8YJGk4ZxNBvqa0QFY6XOMhR3oVAY8zjpXPTHND4e2yf0y0RUlUm8jx2qIH aoWicvSW1RyaqLFNH1rKxRGWXHTJb1V4INb4juItDpIzEeGinGxscMrMSCq9RABQNKEQfhr+vJmvAJ qc5GtQIG0lgY91tLU4eyzvb3XYq0EcreUpw+PUCriZ89PorqAveK2cW13bf2bA6RgGjvMnAcVycXDA vldtpklGoaN9Nm8EctyiUTi5aW46NVMSDBKpoIuBDv/Tk/rGhf24vNO8RVldOBfPewOrTtWAm/h4vA obuSCe8GKBR6aLtGAS6daj9XtY5P1zQ== User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 On 17/02/2020 17:17, Pascal via Darwin-dev wrote:
Hello,
I've come up on a compilation issue which asks for group_member. It is part of unistd.h: http://man7.org/linux/man-pages/man3/group_member.3.html
It seems missing in macOS / Darwin includes. Is there a way to emulate it?
The linked man page says that it does the same as checking whether the passed gid is in the result of getgroups. getgroups does exist on Darwin. Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.app... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe via Darwin-dev