Sign in
googlers
/
maze
/
klibc
/
f24132edfa296478afd40263e493fd2e095f70d2
/
.
/
usr
/
klibc
/
userdb
/
getgrnam.c
blob: ac184bcab4eb0892121850e17272753e9d48e155 [
file
] [
log
] [
blame
]
/*
* getgrnam.c
*
* Dummy getgrnam() to support udev
*/
#include
<grp.h>
#include
"userdb.h"
struct
group
*
getgrnam
(
const
char
*
name
)
{
if
(!
strcmp
(
name
,
"root"
))
return
(
struct
group
*)&
__root_group
;
errno
=
ENOENT
;
return
NULL
;
}