dump_file_descriptors
来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 41 行
TXT
41 行
dddduuuummmmpppp____ffffiiiilllleeee____ddddeeeessssccccrrrriiiippppttttoooorrrrssss((((3333))))MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))dddduuuummmmpppp____ffffiiiilllleeee____ddddeeeessssccccrrrriiiippppttttoooorrrrssss((((3333)))) NNNNAAAAMMMMEEEE dump_file_descriptors() - dump the MudOS process file descriptor table SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS void dump_file_descriptors( void ); DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN This function is provided to assist in debugging the MudOS driver and helps overcome deficiencies in some UN*X implementations which do not provide equivalent or superior debugging facilities as part of the operating system itself. The interpretation of the output is very system-dependent. Each file descriptor is checked to determine whether it refers to an open file. If so, information is displayed from the "stat structure" returned by the fstat() system call. The following output was produced on Lambda Realms running on a Sequent DYNIX/ptx system: Fd Device Number Inode Mode Uid Gid Size -- ------------- ----- ------ ----- ----- ---------- 0 3 2 10319 c 666 0 3 0 1 79 7 164598 f 644 2862 1 789522 2 79 7 164598 f 644 2862 1 789522 3 40 33b 6925 c 0 2862 1 0 4 40 2a4 6943 c 0 2862 1 0 5 79 7 164599 f 600 2862 1 44784 6 40 2e2 145996 c 0 2862 1 0 7 79 7 164601 f 644 2862 1 506 SSSSEEEEEEEE AAAALLLLSSSSOOOO dump_socket_status(3) Page 1 (printed 3/16/95)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?