V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
kkkbbb
V2EX  ›  程序员

IO 函数 中 select(2)、poll(2)中(2)什么意思?

  •  
  •   kkkbbb · 339 天前 · 1105 次点击
    这是一个创建于 339 天前的主题,其中的信息可能已经有所发展或是发生改变。

    看书里有这种写法,不太清楚什么意思,有知道的吗?

    5 条回复    2023-06-09 14:57:24 +08:00
    peonone
        1
    peonone  
       339 天前   ❤️ 3
    系统调用的意思, 以下摘自 Mac `man man`的输出
    ```
    The sections of the manual are:
    1. General Commands Manual
    2. System Calls Manual
    3. Library Functions Manual
    4. Kernel Interfaces Manual
    5. File Formats Manual
    6. Games Manual
    7. Miscellaneous Information Manual
    8. System Manager's Manual
    9. Kernel Developer's Manual
    ```
    kkkbbb
        2
    kkkbbb  
    OP
       339 天前
    @peonone 手册第二章? epoll(4)是内核接口?
    CodeCodeStudy
        3
    CodeCodeStudy  
       339 天前
    ho121
        4
    ho121  
       339 天前
    @kkkbbb 对,就是第二章的意思
    kkkbbb
        5
    kkkbbb  
    OP
       339 天前
    @ho121 好的多谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   6302 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 03:25 · PVG 11:25 · LAX 20:25 · JFK 23:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.