BarryServer : Git

All the code for all my projects
// BarryServer : Git / OrionLibC / blob / d0db5bd73909d1f94cac363ea1dfd12674bbd3a4 / 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