BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / blob / 03048a95d88cc7a78171393371f5c22a0250a014 / include / sys / sched.h

// Related

OrionLibC

Barry Importing existing Orion LibC 03048a9 (2 years, 2 months ago)
#ifndef _SYS_SCHED_H
#define _SYS_SCHED_H

#include <sys/types.h>

/* Flags for clone syscall */
enum CloneFlag {
	CLONE_NONE   = (1 << 0),
	CLONE_PARENT = (1 << 1),
	CLONE_THREAD = (1 << 2),
	CLONE_FILES  = (1 << 3),
	CLONE_FS     = (1 << 4),
	CLONE_VM     = (1 << 5),
	CLONE_IPC    = (1 << 6), // TODO: Add IPC namespace
};

pid_t clone(int flags);

#endif