chroot.c\linux\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/linux/chroot.c
blob: 0e69f145dee37cbdc865f6cf6e222a1658d58cdc (plain) (blame)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"
int chroot(const char *path)
{
	return syscall(SYS_chroot, path);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月10日 23:45:55 +0000

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