Re: group_member missing.
Re: group_member missing.
- Subject: Re: group_member missing.
- From: Sandor Szatmari via Darwin-dev <email@hidden>
- Date: Mon, 17 Feb 2020 13:23:49 -0500
Ahh, Got it.
This is what I’ve used for that in the past
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man3/getpwuid.3.html
Pascal,
Could you emulate your needs with it?
Sandor
> On Feb 17, 2020, at 13:00, Jens Alfke <email@hidden> wrote:
>
>
>
>> On Feb 17, 2020, at 9:51 AM, Sandor Szatmari via Darwin-dev
>> <email@hidden> wrote:
>>
>> I’m assuming you mean the precompile/compile fails with a ‘can’t find the
>> header’ and not a linker error that the symbol doesn’t exist.
>
> No, the <unistd.h> header exists on Darwin. The OP is referring to the
> _function_ group_member(), which seems to be Linux-specific, not part of any
> portable API.
>
> It would have to be emulated … I don't know much about the users & groups
> related system calls, so I don't have any suggestions about how.
>
> —Jens
>
>
_______________________________________________
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