⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shutdown

📁 C实现的MUD,对大家基本入门网络游戏很有帮助!
💻
字号:
     sssshhhhuuuuttttddddoooowwwwnnnn((((3333))))            MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))             sssshhhhuuuuttttddddoooowwwwnnnn((((3333))))     NNNNAAAAMMMMEEEE          shutdown() - shutdown the driver     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS          void shutdown( int how );     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN          This function shuts down the driver in a controlled fashion          (as opposed to how a crash would shut it down).  The 'how'          argument specifes what integer value that driver should pass          to exit().  The convention is to pass 'how' as -1 when the          script that restarts the driver should die as well.  Thus a          reboot command would use shutdown() while a halt command          would use shutdown(-1).  The script must explicitly check          the return value to see if it is -1 if you wish to use this          convention.  Obviously, shutdown() is a sensitive function          and should be secured.  As with exec(), the way to make it          secure is to add a simul_efun of the same name which does          the appropriate security checks.  Be sure to set          valid_override(4) up (in master.c) to protect against          efun::shutdown().     SSSSEEEEEEEE AAAALLLLSSSSOOOO          crash(4), slow_shutdown(4)     Page 1                                          (printed 3/16/95)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -