mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:27:35 +00:00
LibC: Add putgrent
This commit is contained in:
parent
2eb93f2628
commit
927f6ea221
2 changed files with 45 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue