to_int

来自「C实现的MUD,对大家基本入门网络游戏很有帮助!」· 代码 · 共 22 行

TXT
22
字号
     ttttoooo____iiiinnnntttt((((3333))))              MMMMuuuuddddOOOOSSSS ((((5555 SSSSeeeepppp 1111999999994444))))               ttttoooo____iiiinnnntttt((((3333))))     NNNNAAAAMMMMEEEE          to_int - convert a float or buffer to an int     SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS          int to_int( float | buffer x );     DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN          If `x' is a float, the to_int() call returns the number of          type `int' that is equivalent to `x' (with any decimal          stripped off).  If `x' is a buffer, the call returns the          integer (in network-byte-order) that is embedded in the          buffer.     SSSSEEEEEEEE AAAALLLLSSSSOOOO          to_float(3), read_buffer(3), sprintf(3), sscanf(3)     Page 1                                          (printed 3/16/95)

⌨️ 快捷键说明

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