1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:27:35 +00:00

LibC: Add putgrent

This commit is contained in:
M4x1m3 2021-07-09 14:32:12 +02:00 committed by Gunnar Beutner
parent 2eb93f2628
commit 927f6ea221
2 changed files with 45 additions and 0 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021, Maxime Friess <M4x1me@pm.me>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@ -23,6 +24,7 @@ void setgrent();
void endgrent();
struct group* getgrnam(const char* name);
struct group* getgrgid(gid_t);
int putgrent(const struct group*, FILE*);
int initgroups(const char* user, gid_t);