[libc-commits] [libc] [libc] Add getgrnam and getgrgid entrypoints (PR #224858)
Victor Campos via libc-commits
libc-commits at lists.llvm.org
Mon Sep 21 03:24:35 PDT 2026
================
@@ -0,0 +1,32 @@
+//===----------------------------------------------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Implementation of getgrgid.
+///
+//===----------------------------------------------------------------------===//
+
+#include "src/grp/getgrgid.h"
+#include "hdr/types/gid_t.h"
+#include "hdr/types/struct_group.h"
+#include "src/__support/common.h"
+#include "src/__support/libc_errno.h"
----------------
vhscampos wrote:
Missing include macros/config.h
https://github.com/llvm/llvm-project/pull/224858
More information about the libc-commits
mailing list