kernel.h

phantasmal_dgd_v1/mud/include/kernel/kernel.h · 275 B

From the archive phantasmal_dgd_v1.tar.gz

Download the archive   « Back to the archive contents

# include <config.h>

# define DRIVER		"/kernel/sys/driver"
# define AUTO		("/kernel" + INHERITABLE_SUBDIR + "auto")

/*
 * privilege levels
 */
# define KERNEL()	sscanf(previous_program(), "/kernel/%*s")
# define SYSTEM()	sscanf(previous_program(), USR_DIR + "/System/%*s")

Site Stats

Snippets: 1791
Codebases: 571