亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? pice.c

?? nucleas source code
?? C
?? 第 1 頁 / 共 2 頁
字號:


    /* Determine if there is an error with the pipe pointer.  */
    if (pipe == NU_NULL)
    
        /* Indicate that the pipe pointer is invalid.  */
        status =  NU_INVALID_PIPE;
        
    else if (pipe -> pi_id != PI_PIPE_ID)
    
        /* Indicate that the pipe pointer is invalid.  */
        status =  NU_INVALID_PIPE;

    else
    
        /* All the parameters are okay, call the actual function to delete
           a pipe.  */
        status =  PIC_Delete_Pipe(pipe_ptr);
                                  
    /* Return completion status.  */
    return(status);
}


/*************************************************************************/
/*                                                                       */
/* FUNCTION                                                              */
/*                                                                       */
/*      PICE_Send_To_Pipe                                                */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This function performs error checking on the parameters supplied */
/*      to the send message to pipe function.                            */
/*                                                                       */
/* CALLED BY                                                             */
/*                                                                       */
/*      Application                                                      */
/*                                                                       */
/* CALLS                                                                 */
/*                                                                       */
/*      PIC_Send_To_Pipe                    Actual send pipe message     */
/*                                            function                   */
/*      TCCE_Suspend_Error                  Check suspend validity       */
/*                                                                       */
/* INPUTS                                                                */
/*                                                                       */
/*      pipe_ptr                            Pipe control block pointer   */
/*      message                             Pointer to message to send   */
/*      size                                Size of message to send      */
/*      suspend                             Suspension option if full    */
/*                                                                       */
/* OUTPUTS                                                               */
/*                                                                       */
/*      NU_INVALID_PIPE                     Invalid pipe pointer         */
/*      NU_INVALID_POINTER                  Invalid message pointer      */
/*      NU_INVALID_SIZE                     Invalid message size         */
/*      NU_INVALID_SUSPEND                  Invalid suspend request      */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         DATE                    REMARKS                               */
/*                                                                       */
/*      03-01-1993      Created initial version 1.0                      */
/*      04-19-1993      Verified version 1.0                             */
/*      03-01-1994      Modified function interface,                     */ 
/*                      resulting in version 1.1                         */
/*                                                                       */
/*      03-18-1994      Verified version 1.1                             */
/*      06-04-1998      Corrected SPR493                                 */
/*                                                                       */
/*************************************************************************/
STATUS  PICE_Send_To_Pipe(NU_PIPE *pipe_ptr, VOID *message, UNSIGNED size, 
                                                        UNSIGNED suspend)
{

PI_PCB         *pipe;
STATUS          status;


    /* Move input pipe pointer into internal pointer.  */
    pipe =  (PI_PCB *) pipe_ptr;

    /* Determine if there is an error with the pipe pointer.  */
    if (pipe == NU_NULL)
    
        /* Indicate that the pipe pointer is invalid.  */
        status =  NU_INVALID_PIPE;
        
    else if (pipe -> pi_id != PI_PIPE_ID)
    
        /* Indicate that the pipe pointer is invalid.  */
        status =  NU_INVALID_PIPE;

    else if (message == NU_NULL)
    
        /* Indicate that the pointer to the message is invalid.  */
        status =  NU_INVALID_POINTER;

    else if (size == 0)
    
        /* Indicate that the message size is invalid.  */
        status =  NU_INVALID_SIZE;

    else if ((pipe -> pi_fixed_size) && (size != pipe -> pi_message_size))
    
        /* Indicate that the message size is invalid.  */
        status =  NU_INVALID_SIZE;

    else if ((!pipe -> pi_fixed_size) && (size > pipe -> pi_message_size))
    
        /* Indicate that the message size is invalid.  */
        status =  NU_INVALID_SIZE;
        
    else if ((suspend) && (TCCE_Suspend_Error()))
    
        /* Indicate that suspension is only valid from a non-task thread.  */
        status =  NU_INVALID_SUSPEND;
    
    else
    
        /* All the parameters are okay, call the actual function to send
           a message to a pipe.  */
        status =  PIC_Send_To_Pipe(pipe_ptr, message, size, suspend);
                                  
    /* Return completion status.  */
    return(status);
}


/*************************************************************************/
/*                                                                       */
/* FUNCTION                                                              */
/*                                                                       */
/*      PICE_Receive_From_Pipe                                           */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This function performs error checking on the parameters supplied */
/*      to the receive message from pipe function.                       */
/*                                                                       */
/* CALLED BY                                                             */
/*                                                                       */
/*      Application                                                      */
/*                                                                       */
/* CALLS                                                                 */
/*                                                                       */
/*      PIC_Receive_From_Pipe               Actual receive message from  */
/*                                            pipe                       */
/*      TCCE_Suspend_Error                  Check suspend validity       */
/*                                                                       */
/* INPUTS                                                                */
/*                                                                       */
/*      pipe_ptr                            Pipe control block pointer   */
/*      message                             Pointer to message to send   */
/*      size                                Size of the message          */
/*      actual_size                         Size of message received     */
/*      suspend                             Suspension option if empty   */
/*                                                                       */
/* OUTPUTS                                                               */
/*                                                                       */
/*      NU_INVALID_PIPE                     Invalid pipe pointer         */
/*      NU_INVALID_POINTER                  Invalid message pointer      */
/*      NU_INVALID_SIZE                     Invalid message size         */
/*      NU_INVALID_SUSPEND                  Invalid suspend request      */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*        DATE                    REMARKS                                */
/*                                                                       */
/*      03-01-1993      Created initial version 1.0                      */
/*      04-19-1993      Verified version 1.0                             */
/*      03-01-1994      Modified function interface,                     */
/*                      resulting in version 1.1                         */
/*                                                                       */
/*      03-18-1994      Verified version 1.1                             */
/*      12-19-1995      Changed the variable pipe check                  */
/*                      from "message size not equal                     */
/*                      to pipe message size" to                         */
/*                      "message size greater than                       */
/*                      pipe message size",resulting                     */
/*                      in version 1.1+ (spr065)                         */
/*                                                                       */
/*************************************************************************/
STATUS  PICE_Receive_From_Pipe(NU_PIPE *pipe_ptr, VOID *message,
                UNSIGNED size, UNSIGNED *actual_size, UNSIGNED suspend)
{

PI_PCB         *pipe;
STATUS          status;


    /* Move input pipe pointer into internal pointer.  */
    pipe =  (PI_PCB *) pipe_ptr;

    /* Determine if there is an error with the pipe pointer.  */
    if (pipe == NU_NULL)
    
        /* Indicate that the pipe pointer is invalid.  */
        status =  NU_INVALID_PIPE;
        
    else if (pipe -> pi_id != PI_PIPE_ID)
    
        /* Indicate that the pipe pointer is invalid.  */
        status =  NU_INVALID_PIPE;

    else if (message == NU_NULL)
    
        /* Indicate that the pointer to the message is invalid.  */
        status =  NU_INVALID_POINTER;

    else if (size == 0)
    
        /* Indicate that the message size is invalid.  */
        status =  NU_INVALID_SIZE;

    else if ((pipe -> pi_fixed_size) && (size != pipe -> pi_message_size))
    
        /* Indicate that the message size is invalid.  */
        status =  NU_INVALID_SIZE;

    else if ((!pipe -> pi_fixed_size) && (size > pipe -> pi_message_size))
    
        /* Indicate that the message size is invalid.  */
        status =  NU_INVALID_SIZE;
        
    else if ((suspend) && (TCCE_Suspend_Error()))
    
        /* Indicate that suspension is only valid from a non-task thread.  */
        status =  NU_INVALID_SUSPEND;
    
    else
    
        /* All the parameters are okay, call the actual function to receive
           a message from a pipe.  */
        status =  PIC_Receive_From_Pipe(pipe_ptr, message, size, actual_size, 
                                                                suspend);
                                  
    /* Return completion status.  */
    return(status);
}







?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲综合色视频| 美女mm1313爽爽久久久蜜臀| 视频一区在线播放| 国产麻豆视频一区二区| 制服视频三区第一页精品| 亚洲欧美日韩小说| 丁香婷婷综合色啪| 欧美tickling挠脚心丨vk| 亚洲欧洲制服丝袜| 成人性视频免费网站| 精品久久久久久久人人人人传媒 | 不卡av电影在线播放| 日韩你懂的电影在线观看| 亚洲欧美韩国综合色| 粉嫩一区二区三区性色av| 欧美成人精精品一区二区频| 日韩精品欧美精品| 欧美狂野另类xxxxoooo| 亚洲精品久久久蜜桃| 91浏览器打开| 亚洲卡通欧美制服中文| fc2成人免费人成在线观看播放| 久久综合久久久久88| 久久99日本精品| 精品免费国产一区二区三区四区| 日韩精品色哟哟| 日韩一二三区视频| 日韩有码一区二区三区| 日韩一级二级三级| 韩国三级电影一区二区| 久久你懂得1024| 高清不卡一区二区在线| 中文字幕高清一区| 99精品热视频| 亚洲一二三四在线| 欧美日本韩国一区| 久久精品国产成人一区二区三区| 日韩美女主播在线视频一区二区三区| 日产欧产美韩系列久久99| 欧美本精品男人aⅴ天堂| 国产一区二区精品久久| 国产精品视频麻豆| 在线精品视频免费观看| 婷婷国产v国产偷v亚洲高清| 日韩一二三区不卡| 国产98色在线|日韩| 1000精品久久久久久久久| 欧美性猛片aaaaaaa做受| 天天av天天翘天天综合网色鬼国产| 欧美老肥妇做.爰bbww视频| 久久国产日韩欧美精品| 日本一区二区免费在线| 欧美主播一区二区三区| 美国精品在线观看| 国产精品色婷婷久久58| 欧美色图激情小说| 国产真实乱偷精品视频免| 亚洲色图欧美激情| 日韩欧美在线1卡| 成人性生交大片免费看视频在线| 一区二区在线观看av| 91精品国产欧美一区二区成人 | 国产精品久久久久一区| 欧美高清hd18日本| 国产99久久久国产精品 | 国产精品久久久久三级| 欧美日精品一区视频| 激情综合色播激情啊| 亚洲色图视频网站| 久久综合久久综合九色| 欧美三区在线观看| 国产精品538一区二区在线| 亚洲综合免费观看高清在线观看| 精品999久久久| 欧洲av在线精品| 成人avav在线| 黄色日韩三级电影| 亚洲在线视频网站| 欧美激情在线观看视频免费| 9191精品国产综合久久久久久 | 国产在线播放一区二区三区| 亚洲影院久久精品| 中文字幕久久午夜不卡| 日韩亚洲欧美综合| 欧美日韩免费不卡视频一区二区三区| 国产美女久久久久| 美女性感视频久久| 天天操天天色综合| 亚洲主播在线观看| 亚洲人成亚洲人成在线观看图片| 久久综合五月天婷婷伊人| 欧美日韩激情一区二区三区| 91日韩一区二区三区| 成人av在线播放网址| 久久99久久99| 热久久免费视频| 亚洲va中文字幕| 亚洲电影第三页| 一区二区三区欧美亚洲| 国产精品麻豆久久久| 日本一区二区高清| 久久精品视频免费| 久久久三级国产网站| 欧美大胆一级视频| 日韩精品一区二区三区在线观看 | 欧美日韩不卡一区二区| 在线观看日韩国产| 日本高清视频一区二区| 色综合天天综合网天天狠天天 | 午夜精品久久久久久久久| 亚洲高清不卡在线| 亚洲高清免费观看高清完整版在线观看| 亚洲理论在线观看| 夜夜爽夜夜爽精品视频| 亚洲国产精品天堂| 免费看黄色91| 国产又黄又大久久| 成人在线视频一区| av在线不卡电影| 色播五月激情综合网| 欧美日韩国产综合久久 | 国产一区二区三区观看| 国产一区高清在线| 国产91精品一区二区| jlzzjlzz国产精品久久| 在线免费观看成人短视频| 欧美亚洲国产一区二区三区va| 欧美性视频一区二区三区| 欧美日韩不卡在线| 精品国产一区a| 中文一区在线播放| 亚洲一区二区三区四区中文字幕| 舔着乳尖日韩一区| 国产专区欧美精品| 91在线视频18| 欧美一区三区二区| 欧美国产视频在线| 亚洲综合在线视频| 久久精品999| 91麻豆.com| 欧美va亚洲va香蕉在线| 亚洲欧洲日韩女同| 日本一区中文字幕| 丁香婷婷综合网| 91 com成人网| 国产精品理论片在线观看| 午夜在线成人av| 成人午夜在线视频| 在线91免费看| 综合在线观看色| 久久精品国产亚洲高清剧情介绍 | 久久夜色精品国产欧美乱极品| 亚洲天堂福利av| 蜜臀va亚洲va欧美va天堂| 岛国精品在线播放| 欧美一区二区免费观在线| 国产精品理论片| 久久国产尿小便嘘嘘| 91网上在线视频| 亚洲线精品一区二区三区八戒| 国产在线播放一区| 欧美日韩一区中文字幕| 亚洲国产精品99久久久久久久久| 天堂蜜桃91精品| 成人午夜伦理影院| 日韩亚洲欧美综合| 亚洲一级二级在线| 9l国产精品久久久久麻豆| 精品国产一区二区三区四区四| 一区二区激情小说| 久久先锋影音av| 亚洲国产精品久久不卡毛片| 成人动漫中文字幕| 国产亚洲一本大道中文在线| 久久精品免费看| 777xxx欧美| 午夜视频在线观看一区二区三区| 99久久精品免费精品国产| 久久婷婷国产综合国色天香| 日本午夜一区二区| 7777精品伊人久久久大香线蕉完整版| 日韩一区在线免费观看| 国产精品小仙女| 久久久三级国产网站| 久久99久久久欧美国产| 欧美一级日韩一级| 日产欧产美韩系列久久99| 欧美体内she精视频| 一区二区高清免费观看影视大全| 99精品视频在线观看| 国产精品―色哟哟| 99视频热这里只有精品免费| 国产精品乱码一区二三区小蝌蚪| 国产原创一区二区三区| 久久久久97国产精华液好用吗| 国模无码大尺度一区二区三区| www国产成人免费观看视频 深夜成人网 | 2020国产成人综合网| 国产乱人伦精品一区二区在线观看| 日韩欧美在线1卡|