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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? signal.h

?? ecos實(shí)時(shí)嵌入式操作系統(tǒng)
?? H
字號(hào):
#ifndef CYGONCE_SIGNAL_H#define CYGONCE_SIGNAL_H//=============================================================================////      signal.h////      POSIX signal header////=============================================================================//####ECOSGPLCOPYRIGHTBEGIN####// -------------------------------------------// This file is part of eCos, the Embedded Configurable Operating System.// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.//// eCos is free software; you can redistribute it and/or modify it under// the terms of the GNU General Public License as published by the Free// Software Foundation; either version 2 or (at your option) any later version.//// eCos is distributed in the hope that it will be useful, but WITHOUT ANY// WARRANTY; without even the implied warranty of MERCHANTABILITY or// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License// for more details.//// You should have received a copy of the GNU General Public License along// with eCos; if not, write to the Free Software Foundation, Inc.,// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.//// As a special exception, if other files instantiate templates or use macros// or inline functions from this file, or you compile this file and link it// with other works to produce a work based on this file, this file does not// by itself cause the resulting work to be covered by the GNU General Public// License. However the source code for this file must still be made available// in accordance with section (3) of the GNU General Public License.//// This exception does not invalidate any other reasons why a work based on// this file might be covered by the GNU General Public License.//// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.// at http://sources.redhat.com/ecos/ecos-license/// -------------------------------------------//####ECOSGPLCOPYRIGHTEND####//=============================================================================//#####DESCRIPTIONBEGIN####//// Author(s):     nickg, jlarmour// Contributors:  // Date:          2000-03-17// Purpose:       POSIX signal header// Description:   This header contains all the definitions needed to support//                the POSIX signal API under eCos.//              // Usage:         This file can either be included directly, or indirectly via//                the C library signal.h header.//              ////####DESCRIPTIONEND####////=============================================================================#include <pkgconf/hal.h>#include <pkgconf/kernel.h>#include <pkgconf/posix.h>#ifdef CYGPKG_POSIX_SIGNALS#include <stddef.h>             // NULL, size_t#include <limits.h>#include <sys/types.h>//-----------------------------------------------------------------------------// POSIX feature test macros// We do not support job control#undef _POSIX_JOB_CONTROL//-----------------------------------------------------------------------------// Manifest constants#ifdef _POSIX_REALTIME_SIGNALS// For now we define the topmost 8 signals as realtime#define SIGRTMIN                24#define SIGRTMAX                31#endif//-----------------------------------------------------------------------------// forward referencesstruct timespec;//-----------------------------------------------------------------------------// Sigval structureunion sigval{    int   sival_int;    // used when application-defined value is an int    void  *sival_ptr;   // used when application-defined value is a pointer};//-----------------------------------------------------------------------------// Siginfo structure passed to an SA_SIGINFO style handlertypedef struct{    int          si_signo;      // signal number    int          si_code;       // cause of signal    union sigval si_value;      // signal value} siginfo_t;// Values for si_code# define SI_USER	1# define SI_QUEUE	2# define SI_TIMER	3# define SI_ASYNCIO	4# define SI_MESGQ	5# define SI_EXCEPT      6       // signal is result of an exception delivery//-----------------------------------------------------------------------------// Basic types// Integral type that can be accessed atomically - from ISO C 7.7typedef cyg_atomic sig_atomic_t;// Type of signal handler functionstypedef void (*sa_sighandler_t)(int);// Type of signal handler used if SA_SIGINFO is set in sa_flagstypedef void (*sa_siginfoaction_t)(int signo, siginfo_t *info,                                  void *context);//-----------------------------------------------------------------------------//Signal handlers for use with signal() and sigaction(). We avoid 0//because in an embedded system this may be start of ROM and thus//a possible function pointer for reset.#define SIG_DFL ((sa_sighandler_t) 1)      // Default action#define SIG_IGN ((sa_sighandler_t) 2)      // Ignore action#define SIG_ERR ((sa_sighandler_t)-1)      // Error return//-----------------------------------------------------------------------------// Signal values#define SIGNULL   0    // Reserved signal - do not use (POSIX 3.3.1.1)#define SIGHUP    1    // Hangup on controlling terminal (POSIX)#define SIGINT    2    // Interactive attention (ISO C)#define SIGQUIT   3    // Interactive termination (POSIX)#define SIGILL    4    // Illegal instruction (not reset when caught) (ISO C)#define SIGTRAP   5    // Trace trap (not reset when caught)#define SIGIOT    6    // IOT instruction#define SIGABRT   6    // Abnormal termination - used by abort() (ISO C)#define SIGEMT    7    // EMT instruction#define SIGFPE    8    // Floating Point Exception e.g. div by 0 (ISO C)#define SIGKILL   9    // Kill (cannot be caught or ignored) (POSIX)#define SIGBUS    10   // Bus error (POSIX)#define SIGSEGV   11   // Invalid memory reference (ISO C)#define SIGSYS    12   // Bad argument to system call (used by anything?)#define SIGPIPE   13   // Write on a pipe with no one to read it (POSIX)#define SIGALRM   14   // Alarm timeout (POSIX)#define SIGTERM   15   // Software termination request (ISO C)#define SIGUSR1   16   // Application-defined signal 1 (POSIX)#define SIGUSR2   17   // Application-defined signal 2 (POSIX)//-----------------------------------------------------------------------------// Signal sets.// At present we define a single 32 bit integer mask. We may need, at// some future point, to extend this to 64 bits, or a structure// containing an array of masks.typedef cyg_uint32 sigset_t;//-----------------------------------------------------------------------------// struct sigaction describes the action to be taken when we get a signalstruct sigaction{    sigset_t               sa_mask;             // Additional signals to be blocked    int                    sa_flags;            // Special flags    union    {        sa_sighandler_t    sa_handler;          // signal handler        sa_siginfoaction_t sa_sigaction;        // Function to call instead of                                                // sa_handler if SA_SIGINFO is                                                // set in sa_flags    } sa_sigactionhandler;#define sa_handler   sa_sigactionhandler.sa_handler#define sa_sigaction sa_sigactionhandler.sa_sigaction};// sa_flag bits#define SA_NOCLDSTOP 1   // Don't generate SIGCHLD when children stop#define SA_SIGINFO   2   // Use the sa_siginfoaction_t style signal                         // handler, instead of the single argument handler//-----------------------------------------------------------------------------// Sigevent structure.struct sigevent{    int                  sigev_notify;    int                  sigev_signo;    union sigval         sigev_value;    void               (*sigev_notify_function) (union sigval);    pthread_attr_t      *sigev_notify_attributes;};# define SIGEV_NONE	1# define SIGEV_SIGNAL   2# define SIGEV_THREAD	3//-----------------------------------------------------------------------------// Functions to generate signals// Deliver sig to a process.// eCos only supports the value 0 for pid.externC int kill (pid_t pid, int sig);externC int pthread_kill (pthread_t thread, int sig);//-----------------------------------------------------------------------------// Functions to catch signals// Install signal handler for sig.externC int sigaction  (int sig, const struct sigaction *act,                        struct sigaction *oact);// Queue signal to process with value.externC int sigqueue  (pid_t pid, int sig, const union sigval value);//-----------------------------------------------------------------------------// Functions to deal with current blocked and pending masks// Set process blocked signal maskexternC int sigprocmask  (int how, const sigset_t *set, sigset_t *oset);// Set calling thread's blocked signal maskexternC int pthread_sigmask (int how, const sigset_t *set, sigset_t *oset);// Get set of pending signals for this processexternC int sigpending  (sigset_t *set);// Values for the how arguments:#define SIG_BLOCK       1#define SIG_UNBLOCK     2#define SIG_SETMASK     3//-----------------------------------------------------------------------------// Wait for or accept signals// Block signals in set and wait for a signalexternC int sigsuspend  (const sigset_t *set);// Wait for a signal in set to arriveexternC int sigwait  (const sigset_t *set, int *sig);// Do the same as sigwait() except return a siginfo_t object too.externC int sigwaitinfo  (const sigset_t *set, siginfo_t *info);// Do the same as sigwaitinfo() but return anyway after timeout.externC int sigtimedwait  (const sigset_t *set, siginfo_t *info,                           const struct timespec *timeout);//-----------------------------------------------------------------------------// Signal sets// Clear all signals from set.externC int sigemptyset  (sigset_t *set);// Set all signals in set.externC int sigfillset  (sigset_t *set);// Add signo to set.externC int sigaddset  (sigset_t *set, int signo);// Remove signo from set.externC int sigdelset  (sigset_t *set, int signo);// Test whether signo is in setexternC int sigismember  (const sigset_t *set, int signo);//-----------------------------------------------------------------------------// alarm, pause and sleep// Generate SIGALRM after some number of secondsexternC unsigned int alarm( unsigned int seconds );// Wait for a signal to be delivered.externC int pause( void );// Wait for a signal, or the given number of secondsexternC unsigned int sleep( unsigned int seconds );//-----------------------------------------------------------------------------// signal() - ISO C 7.7.1   ////// Installs a new signal handler for the specified signal, and returns// the old handler//externC sa_sighandler_t signal(int __sig, sa_sighandler_t __handler);// raise() - ISO C 7.7.2 ////// Raises the signal, which will cause the current signal handler for// that signal to be calledexternC int raise(int __sig);#endif // ifdef CYGPKG_POSIX_SIGNALS//-----------------------------------------------------------------------------#endif // ifndef CYGONCE_SIGNAL_H// End of signal.h

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
18涩涩午夜精品.www| 欧美日韩不卡一区| 欧美日韩免费高清一区色橹橹| 欧洲精品一区二区| 日韩一级精品视频在线观看| 国产日韩影视精品| 亚洲综合成人网| 久久99久久久久| 色综合夜色一区| 欧美va亚洲va香蕉在线| 最新国产精品久久精品| 日本欧美一区二区三区| av亚洲产国偷v产偷v自拍| 欧美狂野另类xxxxoooo| 国产日韩欧美精品一区| 亚洲国产成人av网| 国产成人亚洲综合色影视| 欧美三级电影精品| 欧美韩日一区二区三区四区| 三级成人在线视频| 99精品视频中文字幕| 日韩欧美不卡一区| 亚洲精品国产一区二区精华液 | 色94色欧美sute亚洲线路一久| 制服丝袜中文字幕一区| 国产精品福利电影一区二区三区四区| 免费人成精品欧美精品| 91免费观看视频在线| 精品国产一二三区| 亚洲资源中文字幕| 粉嫩高潮美女一区二区三区| 日韩欧美美女一区二区三区| 又紧又大又爽精品一区二区| 国产曰批免费观看久久久| 欧美三区在线观看| 亚洲欧洲色图综合| 国产一区二区免费视频| 91精品国产综合久久久蜜臀粉嫩| 日韩毛片精品高清免费| 国内精品久久久久影院色| 欧美日韩日日骚| 亚洲人成精品久久久久久| 国产福利一区在线观看| 日韩一区二区免费视频| 亚洲国产精品一区二区www| 成人激情免费网站| 久久只精品国产| 免费精品视频最新在线| 精品婷婷伊人一区三区三| 成人欧美一区二区三区白人| 成人一道本在线| 久久久99久久精品欧美| 精东粉嫩av免费一区二区三区| 在线综合+亚洲+欧美中文字幕| 亚洲制服欧美中文字幕中文字幕| 99国产精品视频免费观看| 国产日韩精品视频一区| 国产一区久久久| 精品国产乱码久久久久久浪潮| 日本不卡的三区四区五区| 欧美久久婷婷综合色| 一区二区三区不卡视频在线观看 | 亚洲综合一二三区| 91美女片黄在线观看91美女| 国产精品国产精品国产专区不蜜| 岛国av在线一区| 亚洲国产精品高清| 成人黄色国产精品网站大全在线免费观看| 久久久噜噜噜久久中文字幕色伊伊| 韩国一区二区三区| 久久久精品免费观看| 国产福利91精品一区| 久久久久久电影| 国产宾馆实践打屁股91| 欧美激情一区二区三区四区| 成a人片亚洲日本久久| 国产精品网站在线| 97久久久精品综合88久久| 亚洲三级在线观看| 欧美亚日韩国产aⅴ精品中极品| 亚洲综合一区二区精品导航| 欧美精选午夜久久久乱码6080| 日韩精品亚洲专区| 日韩三级视频在线看| 国模套图日韩精品一区二区 | 播五月开心婷婷综合| 日本一区二区免费在线| 99精品在线免费| 亚洲国产日韩在线一区模特 | 国产电影精品久久禁18| 中文字幕av免费专区久久| 99精品偷自拍| 亚洲国产综合人成综合网站| 欧美欧美欧美欧美首页| 久久精品国内一区二区三区| 国产日产欧美精品一区二区三区| www.亚洲色图| 亚洲电影一级黄| 欧美不卡一区二区| www.亚洲在线| 天天操天天干天天综合网| 精品国产一区二区在线观看| 粉嫩aⅴ一区二区三区四区| 一区二区三区四区不卡视频| 91精品国产91久久久久久一区二区| 韩日欧美一区二区三区| 日韩毛片高清在线播放| 91精品国产色综合久久| 国产乱码一区二区三区| 亚洲综合成人网| 久久中文字幕电影| 在线精品视频小说1| 激情成人综合网| 一区二区免费看| 亚洲精品一区二区三区福利| 色综合天天综合在线视频| 麻豆精品在线视频| 中文字幕五月欧美| 91精品国产全国免费观看 | 一区二区三区国产精华| 精品国产欧美一区二区| 91免费观看视频| 国产原创一区二区| 亚洲精品国产一区二区精华液| 国产精品美女久久久久aⅴ| 国产综合久久久久久久久久久久 | 国产真实乱偷精品视频免| 中文字幕在线免费不卡| 56国语精品自产拍在线观看| 成人免费看片app下载| 日本成人中文字幕在线视频| 国产精品视频一二| 91精品免费在线| 日本高清免费不卡视频| 国产精品自拍网站| 午夜欧美一区二区三区在线播放| 国产精品色婷婷久久58| 日韩一区二区三区电影| 欧美亚洲综合在线| 成人免费视频国产在线观看| 捆绑变态av一区二区三区| 樱桃视频在线观看一区| 美女网站一区二区| 亚洲免费观看高清完整| 久久久久久久久蜜桃| 欧美福利一区二区| 色呦呦日韩精品| 国产成人自拍网| 美女脱光内衣内裤视频久久网站| 一区二区在线观看视频| 日本一区二区三区在线不卡| 精品久久久久一区| 欧美精品一卡两卡| 色偷偷久久人人79超碰人人澡| 国产成人免费视频| 国产在线国偷精品免费看| 日韩精品欧美精品| 亚洲影视在线观看| 一区二区视频在线看| 国产精品久久午夜| 国产午夜亚洲精品理论片色戒| 精品国产区一区| 日韩精品一区二| 日韩三级免费观看| 欧美一级精品大片| 欧美久久一二区| 欧美日韩国产免费| 欧美亚洲日本一区| 在线精品视频小说1| 一本久道久久综合中文字幕| 91论坛在线播放| av亚洲精华国产精华| 99久久久精品| 97精品视频在线观看自产线路二 | 国产精品久久久久影院色老大 | av电影天堂一区二区在线| 国产精品99久久久久久有的能看| 老鸭窝一区二区久久精品| 日本不卡中文字幕| 麻豆一区二区三| 久久国产综合精品| 另类专区欧美蜜桃臀第一页| 久久av中文字幕片| 韩国欧美国产一区| 国产福利不卡视频| 成人av网站大全| 99re视频精品| 欧美探花视频资源| 欧美日韩日日骚| 日韩一卡二卡三卡四卡| 日韩欧美色综合| 国产午夜精品在线观看| 国产精品―色哟哟| 亚洲精选视频在线| 午夜视频一区二区| 秋霞午夜av一区二区三区| 久久国产尿小便嘘嘘| 国产麻豆精品theporn| www.亚洲在线| 欧美偷拍一区二区|