blob: ecd3ae91cc6e2143b582bee24640f3dccbcbc79e [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstrad59c3892019-11-28 20:53:39 +01002 void shutdown()
3 void shutdown(int exit_code)
MG Mud User88f12472016-06-24 23:31:02 +02004
Zesstra715ec202025-07-09 22:18:31 +02005DESCRIPTION
6 Shutdown the mud, setting the process result code to
7 <exit_code>, or 0 if not given.
MG Mud User88f12472016-06-24 23:31:02 +02008
Zesstra715ec202025-07-09 22:18:31 +02009 Never use this efun. Instead if you have a need to shutdown
10 the mud use the shutdown command. You may be asking yourself,
11 if you're not supposed to use it why is it here? Sorry, I
12 cannot answer that. Its top secret.
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra715ec202025-07-09 22:18:31 +020014 The efun causes a privilege violation.
MG Mud User88f12472016-06-24 23:31:02 +020015
Zesstra715ec202025-07-09 22:18:31 +020016HISTORY
17 LDMud 3.2.11 introduced the exit code.
18 LDMud 3.5.0 made the efun privileged.
Zesstrad59c3892019-11-28 20:53:39 +010019
Zesstra715ec202025-07-09 22:18:31 +020020SEE ALSO
Zesstrad59c3892019-11-28 20:53:39 +010021 break_point(E), swap(E), privilege_violation(M)