sesig.h
来自「功能丰富的串口通讯程序」· C头文件 代码 · 共 59 行
H
59 行
/* * This file is part of the Seyon, Copyright (c) 1992-1993 by Muhammad M. * Saggaf. All rights reserved. * * See the file COPYING (1-COPYING) or the manual page seyon(1) for a full * statement of rights and permissions for this program. *//* * sighandler.h - * Defines the interface to signalling handling in an Xt safe way * $Id: sighandler.h,v 1.1 92/12/10 08:50:54 ware Exp $ * $Log: sighandler.h,v $ * Revision 1.1 92/12/10 08:50:54 ware * Initial revision [Modfied by me --M.S.] * */typedef void (*XoSignalCallbackProc) (#if NeedFunctionPrototypes int signo, /* the signal number */ XtPointer client_data /* closure */#endif);/* * Private structure used to store the information about the currently * installed signal handlers */typedef struct _xo_signal_data_ { XoSignalCallbackProc handler; /* function to execute */ XtPointer client_data; /* data to pass */} _XoSignalData;extern XoSignalCallbackProc XoAppAddSignal(#if NeedFunctionPrototypes XtAppContext context, /* application context */ int sig, /* which signal */ XoSignalCallbackProc handler, /* the handler */ XtPointer client_data /* private data */#endif);extern void XoAppRemoveSignal(#if NeedFunctionPrototypes XtAppContext context, /* application context */ int sig /* which signal */#endif);extern void XoAppIgnoreSignal(#if NeedFunctionPrototypes XtAppContext context, /* application context */ int sig /* which signal */#endif);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?