blob: 5066c196a592e35feb3366af3628ea1cb18f2334 [file] [edit]
//===----------------------------------------------------------------------===//
//
// 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
/// Header file for getgrnam_r function.
///
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIBC_SRC_GRP_GETGRNAM_R_H
#define LLVM_LIBC_SRC_GRP_GETGRNAM_R_H
#include "hdr/types/size_t.h"
#include "hdr/types/struct_group.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
int getgrnam_r(const char *name, struct group *grp, char *buffer,
size_t bufsize, struct group **result);
} // namespace LIBC_NAMESPACE_DECL
#endif // LLVM_LIBC_SRC_GRP_GETGRNAM_R_H