//判断受到的通知是否有扩展属性 if(notify-〉type | NT_TYPE_EXT){ //如果有,复制扩展缓冲区 memcpy(ext_buf, notify-〉ext_buf, notify-〉ext_buf_len); }