setregid.c\unistd\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/unistd/setregid.c
blob: f5a8972ae4f509ed80d946ef74c3603bcfd0ca34 (plain) (blame)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
int setregid(gid_t rgid, gid_t egid)
{
	return __setxid(SYS_setregid, rgid, egid, 0);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 18:18:20 +0000

AltStyle によって変換されたページ (->オリジナル) /