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

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

?? cslib.shar

?? c語言開發方面的經典問題,包括源代碼.c語言開發所要注意的問題,以及在嵌入式等各方面的應用
?? SHAR
?? 第 1 頁 / 共 5 頁
字號:
#! /bin/sh# This is a shell archive.  Remove anything before this line, then unpack# it by saving it into a file and typing "sh file".  To overwrite existing# files, type "sh file -c".  You can also feed this as standard input via# unshar, or by typing "sh <file", e.g..  If this archive is complete, you# will see the following message at the end:#		"End of shell archive."# Contents:  cslib cslib/Makefile cslib/config.csh cslib/exception.c#   cslib/exception.h cslib/extgraph.h cslib/gcalloc.h cslib/genlib.c#   cslib/genlib.h cslib/glibrary.c cslib/glibrary.h cslib/graphics.c#   cslib/graphics.h cslib/random.c cslib/random.h cslib/simpio.c#   cslib/simpio.h cslib/strlib.c cslib/strlib.h cslib/xcompat.c#   cslib/xcompat.h cslib/xdisplay.c cslib/xdisplay.h cslib/xmanager.c#   cslib/xmanager.h# Wrapped by eroberts@Eeyore.Stanford.EDU on Fri Feb 24 19:45:03 1995PATH=/bin:/usr/bin:/usr/ucb ; export PATHif test ! -d 'cslib' ; then    echo shar: Creating directory \"'cslib'\"    mkdir 'cslib'fiif test -f 'cslib/Makefile' -a "${1}" != "-c" ; then   echo shar: Will not clobber existing file \"'cslib/Makefile'\"elseecho shar: Extracting \"'cslib/Makefile'\" \(2837 characters\)sed "s/^X//" >'cslib/Makefile' <<'END_OF_FILE'X# Makefile for cslib/xwindows directoryX# Last modified on Sat Oct  1 12:56:29 1994 by erobertsX#****************************************************************XXOBJECTS = \X    genlib.o \X    exception.o \X    strlib.o \X    simpio.o \X    random.o \X    graphics.o \X    xmanager.o \X    xdisplay.o \X    xcompat.o \X    glibrary.oXXCSLIB = cslib.aXXCC = gccXCFLAGS = -g -I. $(CCFLAGS)XCONFIG = `csh config.csh -DHasPoll $(CC) -E -DHasPoll xcompat.c`XX# ***************************************************************X# Entry to bring the package up to dateX#    The "make all" entry should be the first real entryXXall: $(CSLIB) gccxXX# ***************************************************************X# Standard entries to remove files from the directoriesX#    tidy    -- eliminate unwanted filesX#    clean   -- delete derived files in preparation for rebuildX#    scratch -- synonym for cleanXXtidy:X	rm -f ,* .,* *~ core a.out *.errXXclean scratch: tidyX	rm -f *.o *.a gccxXX# ***************************************************************X# C compilationsXXgenlib.o: genlib.c genlib.h exception.h gcalloc.hX	$(CC) $(CFLAGS) -c genlib.cXXexception.o: exception.c exception.h genlib.hX	$(CC) $(CFLAGS) -c exception.cXXstrlib.o: strlib.c strlib.h genlib.hX	$(CC) $(CFLAGS) -c strlib.cXXsimpio.o: simpio.c simpio.h strlib.h genlib.hX	$(CC) $(CFLAGS) -c simpio.cXXrandom.o: random.c random.h genlib.hX	$(CC) $(CFLAGS) -c random.cXXgraphics.o: graphics.c graphics.h extgraph.h xmanager.h xcompat.h \X            glibrary.h genlib.h gcalloc.h simpio.h strlib.h MakefileX	$(CC) $(CONFIG) $(CFLAGS) -c graphics.cXXxmanager.o: xmanager.c xmanager.h xdisplay.h xcompat.h glibrary.h \X	    genlib.h exception.h simpio.h MakefileX	$(CC) $(CONFIG) $(CFLAGS) -c xmanager.cXXxdisplay.o: xdisplay.c xdisplay.h xmanager.h glibrary.h genlib.h strlib.h \X            MakefileX	$(CC) $(CONFIG) $(CFLAGS) -c xdisplay.cXXxcompat.o: xcompat.c xcompat.h MakefileX	$(CC) $(CONFIG) $(CFLAGS) -c xcompat.cXXglibrary.o: glibrary.c glibrary.h genlib.hX	$(CC) $(CFLAGS) -c glibrary.cXX# ***************************************************************X# Entry to reconstruct the library archiveXX$(CSLIB): $(OBJECTS)X	-rm -f $(CSLIB)X	ar cr $(CSLIB) $(OBJECTS)X	ranlib $(CSLIB)XX# ***************************************************************X# Entry to reconstruct the gccx scriptXXgccx: MakefileX	@echo '#! /bin/csh -f' > gccxX	@echo 'set INCLUDE =' `pwd` >> gccxX	@echo 'set CSLIB = $$INCLUDE/cslib.a' >> gccxX	@echo 'set LIBRARIES = ($$CSLIB -lX11 -lm)' >> gccxX	@echo 'foreach x ($$*)' >> gccxX	@echo '  if ("x$$x" == "x-c") then' >> gccxX	@echo '    set LIBRARIES = ""' >> gccxX	@echo '    break' >> gccxX	@echo '  endif' >> gccxX	@echo 'end' >> gccxX	@echo 'gcc -g -I$$INCLUDE $$* $$LIBRARIES' >> gccxX	@chmod a+x gccxX	@echo '[gccx script created]'END_OF_FILEif test 2837 -ne `wc -c <'cslib/Makefile'`; then    echo shar: \"'cslib/Makefile'\" unpacked with wrong size!fi# end of 'cslib/Makefile'fiif test -f 'cslib/config.csh' -a "${1}" != "-c" ; then   echo shar: Will not clobber existing file \"'cslib/config.csh'\"elseecho shar: Extracting \"'cslib/config.csh'\" \(1035 characters\)sed "s/^X//" >'cslib/config.csh' <<'END_OF_FILE'X#! /bin/csh -fX#! File: config.cshX#! Usage: csh config.csh flag command . . .X#! Last modified on Sat Oct  1 12:54:21 1994 by erobertsX#! -----------------------------------------------------X#! This shell script is used inside Makefiles to parameterizeX#! compilations for different Unix systems.  The effect of theX#! script is to execute the command and its arguments silently,X#! throwing away any output to stdout or stderr.  If the commandX#! succeeds, the config.csh program echoes the flag parameter; if not,X#! it generates no output.  The typical use of the program isX#! within backquotes, as follows:X#! X#!     gcc `csh config.csh -DCFLAG gcc -E -DCFLAG testfile.c` -c file.cX#! X#! If the internal commandX#! X#!     gcc -E -DCFLAG testfile.cX#! X#! succeeds, the outer compilation will define the CFLAG macro;X#! if not, the macro will be undefined.  Thus, if the optionX#! flag works correctly in the test case, it is used in theX#! other compilations as well.X#!Xeval $argv[2-] >& /dev/nullXif ($status == 0) echo $1END_OF_FILEif test 1035 -ne `wc -c <'cslib/config.csh'`; then    echo shar: \"'cslib/config.csh'\" unpacked with wrong size!fichmod +x 'cslib/config.csh'# end of 'cslib/config.csh'fiif test -f 'cslib/exception.c' -a "${1}" != "-c" ; then   echo shar: Will not clobber existing file \"'cslib/exception.c'\"elseecho shar: Extracting \"'cslib/exception.c'\" \(3276 characters\)sed "s/^X//" >'cslib/exception.c' <<'END_OF_FILE'X/*X * File: exception.cX * Version: 1.0X * Last modified on Sun Jul 24 10:28:11 1994 by erobertsX * -----------------------------------------------------X * This file implements the C exception handler.  Much of theX * real work is done in the exception.h header file.X */XX#include <stdio.h>X#include <stdarg.h>XX#include "genlib.h"X#include "gcalloc.h"X#include "exception.h"XX/*X * Constant: MaxUnhandledMessageX * -----------------------------X * This constant should be large enough to accommodate theX * unhandled exception message, including the exception name.X */XX#define MaxUnhandledMessage 100XX/* Publically accessible exceptions */XXexception ANY = { "ANY" };Xexception ErrorException = { "ErrorException" };XX/*X * Global variable: exceptionStackX * -------------------------------X * This variable is the head pointer to a linked list ofX * context blocks that act as the exception stack.  The chainX * pointer is referenced by the macros in exception.h and mustX * therefore be exported, but clients should not reference itX * directly.X */XXcontext_block *exceptionStack = NULL;XX/* Private function prototypes */XXstatic context_block *FindHandler(exception *e);XX/* Public entries */XX/*X * Function: RaiseExceptionX * ------------------------X * This function operates by finding an appropriate handlerX * and then using longjmp to return to the context storedX * there after resetting the exception stack.  If no handlerX * exists, the function notes an unhandled exception.  MuchX * of the complexity comes from the fact that allocationX * within the exception handler may fail.X */XXvoid RaiseException(exception *e, string name, void *value)X{X    context_block *cb;X    char errbuf[MaxUnhandledMessage + 1];X    string errmsg;X    int errlen;XX    cb = FindHandler(e);X    if (cb == NULL) {X        sprintf(errbuf, "Unhandled exception (%.30s)", name);X        errlen = strlen(errbuf);X        if (_acb == NULL) {X            errmsg = malloc(errlen + 1);X        } else {X            errmsg = _acb->allocMethod(errlen + 1);X        }X        if (errmsg == NULL) {X            errmsg = "Unhandled exception: unknown";X        } else {X            strcpy(errmsg, errbuf);X        }X        Error(errmsg);X    }X    exceptionStack = cb;X    cb->id = e;X    cb->value = value;X    cb->name = name;X    longjmp(cb->jmp, ES_Exception);X}XX/*X * Function: HandlerExistsX * -----------------------X * This public entry is used primarily by the Error functionX * to determine if ErrorException has been trapped, althoughX * it is available to other clients as well.X */XXbool HandlerExists(exception *e)X{X    return (FindHandler(e) != NULL);X}XX/* Private functions */XX/*X * Function: FindHandlerX * ---------------------X * This function searches the exception stack to find theX * first active handler for the indicated exception.  If aX * match is found, the context block pointer is returned.X * If not, FindHandler returns NULL.X */XXstatic context_block *FindHandler(exception *e)X{X    context_block *cb;X    exception *t;X    int i;XX    for (cb = exceptionStack; cb != NULL; cb = cb->link) {X        for (i = 0; i < cb->nx; i++) {X            t = cb->array[i];X            if (t == e || t == &ANY) return (cb);X        }X    }X    return (NULL);X}END_OF_FILEif test 3276 -ne `wc -c <'cslib/exception.c'`; then    echo shar: \"'cslib/exception.c'\" unpacked with wrong size!fi# end of 'cslib/exception.c'fiif test -f 'cslib/exception.h' -a "${1}" != "-c" ; then   echo shar: Will not clobber existing file \"'cslib/exception.h'\"elseecho shar: Extracting \"'cslib/exception.h'\" \(7990 characters\)sed "s/^X//" >'cslib/exception.h' <<'END_OF_FILE'X/*X * File: exception.hX * Version: 1.0X * Last modified on Thu Feb 23 12:45:01 1995 by erobertsX * -----------------------------------------------------X * The exception package provides a general exceptionX * handling mechanism for use with C that is portableX * across a variety of compilers and operating systems.X */XX#ifndef _exception_hX#define _exception_hXX/*X * Overview:X * --------X * The exception package makes it possible for clients toX * specify a handler for an exceptional conditions in aX * syntactically readable way.  As a client, your first stepX * is to declare an exception condition name by declaringX * a variable of type exception, as inX *X *       exception MyException;X *X * Normal visibility rules apply, so that you should declareX * the exception variable at the appropriate level.  ForX * example, if an exception is local to an implementation,X * it should be declared statically within that module.  IfX * an exception condition is shared by many modules, theX * exception variable should be declared in an interfaceX * and exported to all clients that need it.  This packageX * defines and exports the exception ErrorException, whichX * is likely to be sufficient for many clients.X *X * The basic functionality of exceptions is that one pieceX * of code can "raise" an exception so that it can then beX * "handled" by special code in a dynamically enclosingX * section of the program.  Exceptions are raised by callingX * the pseudo-function raise with the exception name, as inX *X *     raise(MyException);X *X * Exceptions are handled using the "try" statementX * (actually implemented using macros), which has the form:X *X *     try {X *        . . . statements in the body of the block . . .X *     except(exception1)X *        . . . statements to handle exception 1 . . .X *     except(exception2)X *        . . . statements to handle exception 2 . . .X *     except(ANY)X *        . . . statements to handle any exception . . .X *     } endtryX *X * Any number of except clauses may appear (up to aX * maximum defined by the constant MaxExceptionsPerScope),X * and the ANY clause is optional.X *X * When the program encounters the "try" statement, theX * statements in the body are executed.  If no exceptionX * conditions are raised during that execution, eitherX * in this block or by a function call nested insideX * this block, control passes to the end of the "try"X * statement when the last statement in the block isX * executed.  If an exception is raised during theX * dynamic execution of the block, control immediatelyX * passes to the statements in the appropriate exceptX * clause.  Only the statements in that clause areX * executed; no break statement is required to exitX * the block.  If no handler for the raised exceptionX * appears anywhere in the control history, the programX * exits with an error.X *X * Examples of use:X *X * 1.  Catching errors.X *X * The following code fragment traps calls to Error, soX * that the program does not quit but instead returnsX * to the top-level read-and-execute loop.X *X *     while (TRUE) {X *         try {X *             printf("> ");X *             cmd = ReadCommand();X *             ExecuteCommand(cmd);X *         except(ErrorException)X *             printf("Error: %s\n", (string) GetExceptionValue());X *             -- additional handling code, if any --X *         } endtryX *     }X *X * If either ReadCommand or ExecuteCommand calls Error,X * control will be passed back to the main loop, afterX * executing any additional handler code.  The errorX * message is passed as the exception value and can beX * printed as shown in the example.X *X * 2.  Handling control-CX *X * The following code extends the example above so thatX * typing ^C also returns to top-level.X *X *     #include <signal.h>X *X *     static exception ControlCException;X *     static int errorCount = 0;X *     static int ControlCHandler();X *X *     main()X *     {X *         string cmd;X *X *         signal(SIGINT, ControlCHandler);X *         while (TRUE) {X *             try {X *                 printf("> ");X *                 cmd = ReadCommand();X *                 ExecuteCommand(cmd);X *             except(ControlCException);X *                 printf("^C\n");X *                 signal(SIGINT, ControlCHandler);X *             except(ErrorException)X *                 errorCount++;X *             } endtryX *         }X *     }X *X *     static int ControlCHandler()X *     {X *         raise(ControlCException);X *     }X */XX/*X * Actual interface specificationX * ------------------------------

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合天天综合网国产成人综合天 | 国产日韩欧美电影| 美女视频黄 久久| 精品国产乱码久久久久久蜜臀 | 美女视频免费一区| 精品久久久久久久久久久久久久久久久 | 亚洲在线视频一区| 欧美日韩在线播放| 韩国精品在线观看| 国产精品毛片a∨一区二区三区| 波多野洁衣一区| 亚洲国产日韩在线一区模特| 日韩欧美一区在线| av影院午夜一区| 亚洲成a人v欧美综合天堂下载| 91精品免费在线观看| 国产一区二区三区在线观看免费 | 国产精品女主播在线观看| 91免费国产视频网站| 日韩黄色片在线观看| 国产视频911| 欧美性色黄大片| 韩国成人精品a∨在线观看| 国产精品丝袜在线| 在线观看91av| 成人精品gif动图一区| 五月天国产精品| 国产蜜臀97一区二区三区| 欧美日韩一区三区四区| 国产美女在线精品| 亚洲地区一二三色| 欧美国产精品久久| 91精品国产麻豆国产自产在线| 国产精品一级二级三级| 午夜在线成人av| 国产精品久久久久久久浪潮网站| 91麻豆精品国产91久久久资源速度 | 91麻豆福利精品推荐| 麻豆传媒一区二区三区| 亚洲精品中文字幕在线观看| 精品成人一区二区| 欧美视频在线一区| jiyouzz国产精品久久| 九九精品视频在线看| 午夜视频一区二区| 亚洲免费在线视频| 欧美激情资源网| 精品国产一区二区三区忘忧草| 欧美私模裸体表演在线观看| 成人听书哪个软件好| 蜜臀91精品一区二区三区| 亚洲国产日日夜夜| 亚洲精品视频在线观看网站| 国产区在线观看成人精品| 欧美一区二区三区免费大片 | 91精品国产综合久久久久| 色94色欧美sute亚洲线路二| 高清在线观看日韩| 国产又粗又猛又爽又黄91精品| 午夜一区二区三区在线观看| 亚洲精品国产第一综合99久久| 亚洲国产精品成人综合| 日韩精品一区在线| 日韩视频免费直播| 欧美精品aⅴ在线视频| 欧美三级视频在线播放| 欧美在线一二三| 色婷婷精品大视频在线蜜桃视频| aaa国产一区| aa级大片欧美| 91污在线观看| 91电影在线观看| 日本精品一区二区三区高清| 91年精品国产| 在线观看亚洲专区| 精品视频1区2区3区| 欧美麻豆精品久久久久久| 欧美日韩在线播放三区| 91精品视频网| 久久一夜天堂av一区二区三区 | 欧美日韩一区三区四区| 欧美性感一区二区三区| 欧美另类一区二区三区| 3751色影院一区二区三区| 91精品蜜臀在线一区尤物| 欧美日本精品一区二区三区| 制服.丝袜.亚洲.中文.综合| 91精品国产综合久久福利| 日韩精品最新网址| 国产日产欧美一区二区视频| 国产精品久久久久aaaa樱花 | 国产精品理论在线观看| 中文字幕在线观看一区| 一区二区三区四区在线播放| 亚洲成国产人片在线观看| 麻豆国产精品777777在线| 国产精品亚洲第一区在线暖暖韩国 | 欧美一级生活片| 久久人人爽人人爽| 亚洲精品乱码久久久久久| 日韩av高清在线观看| 国产不卡视频在线播放| 91一区一区三区| 欧美一区二区三区视频在线观看| 久久久久综合网| 亚洲一区影音先锋| 美日韩黄色大片| 成人在线综合网| 777午夜精品视频在线播放| 久久这里只精品最新地址| 亚洲精品国产a久久久久久| 免费在线观看视频一区| 高清国产一区二区三区| 欧美日韩精品免费| 国产日韩影视精品| 亚洲线精品一区二区三区| 国产一区二区三区在线观看免费视频| 91丨porny丨最新| 日韩精品一区在线观看| 亚洲精选免费视频| 国产美女主播视频一区| 欧美在线免费观看视频| 久久久精品蜜桃| 日韩影院在线观看| 不卡区在线中文字幕| 欧美一级二级在线观看| 亚洲欧美激情小说另类| 精品系列免费在线观看| 91免费观看视频在线| 久久先锋资源网| 五月开心婷婷久久| 91香蕉视频mp4| 国产欧美精品国产国产专区 | www精品美女久久久tv| 一区二区三区.www| 成人小视频在线| 欧美精品一区二区三区四区| 亚洲一区在线视频| 91视频91自| 国产精品免费av| 国产综合久久久久久久久久久久| 欧美日精品一区视频| 亚洲人成伊人成综合网小说| 成人做爰69片免费看网站| 精品国产乱码久久久久久1区2区| 丝袜亚洲另类欧美综合| 欧美性xxxxxx少妇| ㊣最新国产の精品bt伙计久久| 韩国女主播成人在线| 日韩欧美一区二区不卡| 午夜精品123| 日本道精品一区二区三区| 国产精品天天看| 成人黄色电影在线| 日本一区二区三区国色天香 | 美女一区二区视频| 欧美日韩色综合| 亚洲综合小说图片| 91福利资源站| 亚洲综合图片区| 欧美丝袜丝交足nylons| 一区二区三区高清不卡| 日本二三区不卡| 亚洲成人www| 91精品国产综合久久久久| 日韩激情一区二区| 日韩免费视频一区| 老司机免费视频一区二区三区| 日韩午夜精品电影| 国产一区中文字幕| 久久久久9999亚洲精品| 懂色av一区二区三区蜜臀| 国产精品理论片在线观看| 成人黄色在线看| 亚洲欧美日韩在线不卡| 色乱码一区二区三区88| 亚洲香肠在线观看| 欧美一区二区三区免费大片| 极品尤物av久久免费看| 国产农村妇女精品| 成人av免费观看| 亚洲综合免费观看高清完整版 | 一区二区三区影院| 欧美日韩精品高清| 久久国产婷婷国产香蕉| 久久久久久免费毛片精品| 成人高清免费观看| 一区二区三区中文字幕精品精品| 欧美亚洲动漫精品| 免费成人在线视频观看| 亚洲国产精品激情在线观看| 色综合天天综合狠狠| 视频一区二区三区入口| 欧美精品一区二区精品网| 成人激情图片网| 亚洲国产精品久久人人爱蜜臀| 精品国产污网站| 色综合天天综合网天天看片| 日本v片在线高清不卡在线观看| 国产亚洲一区二区三区在线观看|