site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=SfbxFcr590RRbXgbJGMd9ElvAwrQYv64xlwYkXBxBWo=; b=k5QMLmesHGpZ0dZadXNB6ty/nzNwNvNpAN/igPLWp3E4qxqz0imMrMYZCIHLBKQfgU /2/RHZnIFU/kJQ8qn1cHhO9fB3BL/uWg/JPsFenPP9+z+7CBnxFNIZ3Unm1Uhb+EioQj /yIgGV96eo6hAjogEMNcIgYhO6FBusP8q4tKiXOj5FZb+mlOBWLDk8eH8T5DpqePghop cYewpRiopXCL/sdRrnxivz3X6/x1t+kn9b0131jhLx3/1cZO7WVHq8cUDnuR7PeP83x1 wJ4KNooiz81Jt/2bvYzDFuVMR0XU1f2rCK0BevVaVg7d9S969O15VxKLqgrhKyVyKNJp VqZA== Ahh, Got it. This is what I’ve used for that in the past https://developer.apple.com/library/archive/documentation/System/Conceptual/... Pascal, Could you emulate your needs with it? Sandor
On Feb 17, 2020, at 13:00, Jens Alfke <jens@mooseyard.com> wrote:
On Feb 17, 2020, at 9:51 AM, Sandor Szatmari via Darwin-dev <darwin-dev@lists.apple.com> 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 (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)
-
Sandor Szatmari via Darwin-dev