在bind系统调用函数中。
针对这个新函数更新系统调用表。
请记住,菜单系统知道应该根据给出的URL调用哪个函数。
Remember that the menu system knows what function to call based on the URL given.
清单1所示的前两个函数,是系统调用的简单示例。
The first two functions, shown in Listing 1, are simple examples of a system call.
系统调用与库函数比较—以及一点历史知识。
accept _ callback:当接受连接时,事件系统调用此函数。
Accept_callback : the function called by the event system when a connection is accepted.
所以没有拦截系统调用,而是转而拦截实际参与的函数调用。
So instead of the system calls, we intercept the function calls that actually get made.
这个函数被调用来读取系统的时钟。
这个函数被调用来读取系统的时钟。
应用推荐