见事件处理函数要求。
一个标签处理函数类。
函数调用被信号处理函数中断。
处理函数会在适当的时候调用回调函数。
The processing function then calls the callback when appropriate.
而在其他情形中,您必须使用标准的处理函数名称。
In the other cases, you must use the standard name for your handler function.
清单10说明处理函数返回值的代码应该是什么样的。
Listing 10 shows what should the code to handle this situation should look like.
注意,这些元素上设置了与鼠标操作相关的三个事件处理函数。
Notice that these elements have three different mouse action-related event handlers.
现在我们已经准备好学习更多的事件处理函数的信息了。
一旦字符串处理函数失败,就把目标缓冲区设成NULL。
mysig_handler是在接收到信号时要调用的处理函数。
mysig_handler is the handler function that will be invoked at the time of signal delivery.
现在的中断处理函数的返回代码是一个 irqreturn_t类型。
The interrupt handler function now has a return code of type irqreturn_t.
然后把这个事件处理函数分配给onreadystatechange属性。
This handler function was then assigned to the onreadystatechange property.
此指示符告知编译器要专门处理那个特殊的函数。
This directive instructs the compiler to give special treatment to that particular function.
清单3中的第二个函数将处理文本区域中的每次击键。
The second function in Listing 3 processes each keystroke in the text area.
然后,您可以定义函数来处理成功和失败响应。
You then define functions to handle a successful response and a failure.
在该回调函数内,可能处理返回的数据。
Within the callback function, the returned data can be processed.
在这个程序中,我们添加了另一个用于错误处理的函数。
In this program, we add another function for error handling.
这样,当服务器处理完请求后就会自动调用该函数。
Then, when the server has processed the request, it will automatically call that function.
第二个参数是真正处理请求的一个函数。
The second argument is a function that will actually handle the request.
函数参数与其他本地数据的处理稍有不同。
Function parameters are handled a little differently from other local data.
在回调函数中处理服务器的响应。
这些函数将处理或返回日期和时间值。
这些函数处理或返回字符串。
定义回调函数,以处理通信状态和响应数据。
Define a call-back function to process the communication states and the response data.
在我们的例子中,我们建立AddEntry函数来处理我们希望的请求。
In our case, we set up the AddEntry function to handle our intended requests.
operation-要处理的函数或过程的名称。
response是一个用来处理非json返回值的函数。
Response is a function that handles return values that are not JSON.
定义一个函数以处理事件;特别是,要实现以下任务。
Define a function to handle the event; specifically, implement these tasks.
因为符号链接需要特殊的处理,所以这里使用了lstat函数。
Because symbolic links get special treatment, use the lstat function here.
因为符号链接需要特殊的处理,所以这里使用了lstat函数。
Because symbolic links get special treatment, use the lstat function here.
应用推荐