stat
来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 26 行
TXT
26 行
ssssttttaaaatttt((((3333)))) MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444)))) ssssttttaaaatttt((((3333)))) NNNNAAAAMMMMEEEE stat() - returns information pertaining to a file or a directory SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS mixed stat( string str, int default: 0 ); DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN If str is the name of a regular file (not a directory), then stat() will return an array of information pertaining to that file. The form of the array is as follows: ({ file_size, last_time_file_touched, time_object_loaded }) If stat is called on a directory (not a regular file), or with a second argument of -1, then stat() behaves identically to get_dir(3). SSSSEEEEEEEE AAAALLLLSSSSOOOO get_dir(3), file_size(3) Page 1 (printed 3/16/95)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?