Re: group_member missing.
Re: group_member missing.
- Subject: Re: group_member missing.
- From: Jonas Maebe via Darwin-dev <email@hidden>
- Date: Mon, 17 Feb 2020 19:05:01 +0100
- Autocrypt: addr=email@hidden; prefer-encrypt=mutual; keydata= mQKZBFIgZ2MBFGC6pNE1MJkKsP2NG0EFnMb/svIUdavO7+7aOqBcRON7YEeE3UughZFr2UTj RhYzYKo6a7+pYVrJAJ+8a3m6B8K0GG98v3cFLJqYz8H/VyvdTjNQo8HQlPeZlEaBNjo65nSH HyLbQ6ehHHHjqBteyrOqC5u1pQAC/0WRSIWMCtlQ+7pWZ/gRceY2QZyd7mT+RTPHqhxOQ/s3 sx2N1aAuGPD4bcwPdU1rGqBoh/OwswMVlvdy0mojtgWNynOV6+TTEZfKbsaDMOUncFrAVHdz 7V07v4LqWLk1mRZcrJyvzIwO0H/+M1YD/yIQ3LLlI+XlrT4UBflOrNRkM0DcX57njotIiQB6 ImUpL8zyIOrgjTo9ki3KnPGCnrKsfF1atNfSUO016cuPrsY+aFzZxxtSsNUgwGzTnXmahRNK x8XsR6P8wrFikRelB1S0zJwWncRw6jiAnzfVz1xVtTXuGO3PIhZ0AlisjuKWbhAXomoCphw5 LUJXxjJqD7yPJ0qEmnaQcdwR3GUlK1TJYitcI63EH1dqHiGQIOaixytiBgfYDSCy1KterW62 OaEFyO95WLAgV3CUf68wmYuaFRO+NfVzqrLyDJ1C2OKI8ucyUeTJ2pI2mteN8wu9PYjYrTaB eQ/w5YMshT20moE1K8ntl51rzVmhwzTUO8ImLZRFWoxI6HUDVGFb8tTz23eJ9MoN5Wfykvl5 ddow81EyLJC0UizEYgAGBx88zWwLNWUh4CFEzM+a6MfQKqqX+sdCooboZ9xfoSLvdPzwjNHm uPxkgn2Yv7Mp/rkTkRzcZ3GT2k7s1rTqywS6UKkWbkPWbr9la0QM2lal/9qQg0ckzBvhG4V0 +hqjy8dEx7eHjXzkWznlABEBAAG0J0pvbmFzIE1hZWJlIDxqb25hcy1kZXZsaXN0c0B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QeXRJTk8NZ6TM3reeW/W7kEz MlfXBnztKZYK3FWBuENG55wlq6MIhWBtvh9trCbccDZZ/lBL4nl316/mo9kowsMHz3YHBu9i l5tmAuyx2fmBE0VoU1ITflxkrdsFUT7r5sHGghWVppXv/84wkOxdVbNwKLmEQ4aMeSoBYrmB X1dXpN2QPH5b8LoncE5Fk6b/aEV0BAmIp4Xsp6TQ94HT69NmkzZ2ynvZaoTzMlUeTsBUXVFS vB4zlzwv9r9foATCln6UAXGNfsIiI9KIStbtjX8PK8QeAnjsqYcv7Qu4i5ewSFD+uJ2G9MeP 8ZXA7xXYoySxrYZBlmbTv/Br4eTEYqI+hwXSVeheAo1VKikKwB4HFZcOOOMI5VYdNg/Ts0lr pNGPgI6qshdRgkLld5CUmx7HgwTodGFBhomvun1BMZr7lZi5aZlvrQh0XW3kDntjrrwj9WoD lga+jHiXYKJLzfOAZWu8OHQ59LPc/lLambyOhD8DCEMZAtXzQ3QYTitjAHZCIrP/RWu06O14 UV1mS46hvqs9wf13deFve474eRVo3kCLHDeyhLui9OvnikQlG5Lbdbeu+5pKL5vK/oGmi2rN xPf7LanOEqRx4kKfMVs6rbULGBGrH833gAb0ZSsxPpsJ
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden