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

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

?? ship.c

?? 《匯編源代碼大全》
?? C
?? 第 1 頁 / 共 3 頁
字號:
/* ship.c -- Not copyrighted 1991 Mark Adler */#define SHIPVER "ship version 1.1  November 4, 1991  Mark Adler"/* Command for mailing (-m): the %s's are, in order, the subject prefix,   the part number (always of the form "partnnnn"), the subject suffix   (empty or " (last)" if the last part), the mailing address, and the   name of the temporary file begin mailed.  The command "Mail" is for BSD   systems.  You may need to change it to "mailx" for System V Unix, using   the compile option "-DMAILX".  Also, on Sperry (Unisys?) SysV.3 systems,   you might try the command name "v6mail". */#ifdef DIRENT           /* If compiled with zip, DIRENT implies System V */#  define MAILX#endif /* DIRENT */#ifdef sun              /* Except Sun's use DIRENT, but have Mail */#  ifdef MAILX#    undef MAILX#  endif /* MAILX */#endif /* sun */#ifdef sgi              /* Silicon Graphics that way too */#  ifdef MAILX#    undef MAILX#  endif /* MAILX */#endif /* sgi */#ifdef VMS#  define TMPNAME "_SXXXXXX."#  define MAILCMD "mail %s /subj=\"%s %s%s\" \"%s\""#  define PATHCUT ']'#else /* !VMS */#  define TMPNAME "_SXXXXXX"#  ifdef MAILX#    define MAILCMD "mailx -s \"%s %s%s\" \"%s\" < %s"#  else /* !MAILX */#    ifdef M_XENIX#      define MAILCMD "mail -s \"%s %s%s\" \"%s\" < %s"#    else /* !M_XENIX */#      define MAILCMD "Mail -s \"%s %s%s\" \"%s\" < %s"#    endif /* ?M_XENIX */#  endif /* ?MAILX */#  ifdef MSDOS#    define PATHCUT '\\'#  else /* !MSDOS */#    define PATHCUT '/'#  endif /* ?MSDOS */#endif /* ?VMS *//*SHIP -  Ship is a program for sending binary files through email.  It is designed  to supplant uuencode and uudecode.  Ship encodes approximately 6.32 bits  per character mailed, compared to uuencode's 5.81 bits per character.  Ship also has these features: a 32-bit CRC check on each file; automatic  splitting of the ship output into multiple, smaller files for speedier  mailing; automatic mailing of ship's output, with subject lines for  multiple parts; and a check on the sequence of parts when unshipping.  Usage:       ship [-nnn] [-m address] [-s subject] file ...  where nnn is the maximum number of K bytes for each output file, address  is the address to send mail to, subject is a Subject" line prefix, and  file ... is a list of files to ship.  If no options are given, ship  outputs to stdout.  The simplest use is:       ship foo > x  where foo is converted into the mailable file, x.  When -nnn is specified, but -m is not, ship writes to the files  part0001, part0002, etc., where each file has nnn or less K bytes.  For  example:       ship -25 bigfoo  will write however many 25K byte or less ship files is needed to contain  bigfoo.  If, say, six files are needed, then the files part0001 to part0006  will be written.  When using -m, nothing is written, either to files or to stdout; rather,  the output is mailed to the specified address.  If -nnn is also specified,  then the parts are mailed separately with the subject lines part0001, etc.  If -nnn is not specified, then only one part (the whole thing) is mailed  with the subject line "part0001".  For example:       ship -25 -m fred bigfoo  will mail the six parts of bigfoo to fred.  Any number of files can be shipped at once.  They become part of one long  ship stream, so if, for example -25 is specified, all but the last part  will have about 25K bytes.  For example:       ship -25 -m fred fee fi fo fum  will send the files fee, fi, fo, and fum to fred.  Fred will get several mail messages with the subject lines part0001, etc.  He can then save those messages as the files, say, p1, p2, p3, ...  Then he can use the command:       ship -u p?  to recreate bigfoo, or fee fi fo and fum, depending on what he was sent.  If Fred saved the wrong numbers, ship will detect this and report a  sequence error.  Note: there is enough information in the shipped parts to determine the  correct sequence.  A future version of ship will prescan the files to  determine the sequence, and then process them in the correct order.  If a file being received already exists, ship -u will report an error  and exit.  The -o option avoids this and allows ship to overwrite existing  files.  The -o option must follow the -u option:       ship -u -o p?  In addition to the -u option, ship will unship if it sees that its name is  unship.  On Unix systems, this can be done simply by linking the executable  to unship:       ln ship unship   Ship can also be used as a filter.  The special file name "-" means stdin.  For example:       tar covf - foodir | compress | ship -25 -m fred -  will tar the directory foodir, compress it, and ship it to fred in 25K byte  pieces.  Then, after Fred saves the files as p01, etc. at the other, end,  he can:       ship -u p? | zcat | tar xovf -  which will recreate the directory foobar and its contents.  ship -u knows  to write to stdout, since the original ship put the special file name "-"  in the first part.  Ship uses a base 85 coding that needs 32-bit multiplication and division.  This can be slow on 16-bit machines, so ship provides a fast encoding  method by specifying the -f option.  This method is somewhat faster even  on 32-bit machines, and has approximately a 1% penalty in the size of the  encoded result (-f gives 6.26 bits per character, on the average).  The -f  option need only be used when shipping--unshipping (ship -u) automatically  detects the encoding used.  For example:       ship -f -25 -m fred foo  will send foo to fred in 25K byte pieces using the fast encoding method.  You don't need to tell Fred, since ship -u will figure that out for him.  The fast encoding method is probabilistic, so it's possible for the size  penalty to be worse than 1%, and it's also possible for the fast encoding  to produce a smaller result than base 85 encoding would, all depending on  the data.  The -q option can be used with either ship or unship (ship -u) for quiet  operation--informational messages are inhibited.  You can find out the version of ship and get the command usage by using  "ship -h" or "ship -?".  The version number and date and help will be  printed, and ship will exit (the rest of the command line is ignored).  Acknowledgements:  The hard-arithmetic coding algorithm was blatantly stolen from Peter  Gutmann's pgencode/pgdecode programs posted on comp.compression, with  modifications to use 86 instead of 94 characters, and to make zeros encode  better than, rather than worse than other bytes.  (As Stravinsky once said:  "Mediocre composers plagiarize.  Great composers steal.")*//* tailor.h -- Not copyrighted 1991 Mark Adler *//* const's are inconsistently used across ANSI libraries--kill for all   header files. */#define const/* Use prototypes and ANSI libraries if __STDC__ */#ifdef __STDC__#  ifndef PROTO#    define PROTO#  endif /* !PROTO */#  define MODERN#endif /* __STDC__ *//* Use prototypes and ANSI libraries if Silicon Graphics */#ifdef sgi#  ifndef PROTO#    define PROTO#  endif /* !PROTO */#  define MODERN#endif /* sgi *//* Define MSDOS for Turbo C as well as Microsoft C */#ifdef __POWERC                 /* For Power C too */#  define __TURBOC__#endif /* __POWERC */#ifdef __TURBOC__#  ifndef MSDOS#    define MSDOS#  endif /* !MSDOS */#endif /* __TURBOC__ *//* Use prototypes and ANSI libraries if Microsoft or Borland C */#ifdef MSDOS#  ifndef PROTO#    define PROTO#  endif /* !PROTO */#  define MODERN#endif /* MSDOS *//* Turn off prototypes if requested */#ifdef NOPROTO#  ifdef PROTO#    undef PROTO#  endif /* PROTO */#endif /* NOPROT *//* Used to remove arguments in function prototypes for non-ANSI C */#ifdef PROTO#  define OF(a) a#else /* !PROTO */#  define OF(a) ()#endif /* ?PROTO *//* Allow far and huge allocation for small model (Microsoft C or Turbo C) */#ifdef MSDOS#  ifdef __TURBOC__#    include <alloc.h>#  else /* !__TURBOC__ */#    include <malloc.h>#    define farmalloc _fmalloc#    define farfree   _ffree#  endif /* ?__TURBOC__ */#else /* !MSDOS */#  define huge#  define far#  define near#  define farmalloc malloc#  define farfree   free#endif /* ?MSDOS *//* Define MSVMS if either MSDOS or VMS defined */#ifdef MSDOS#  define MSVMS#else /* !MSDOS */#  ifdef VMS#    define MSVMS#  endif /* VMS */#endif /* ?MSDOS *//* Define void, voidp, and extent (size_t) */#include <stdio.h>#ifdef MODERN#  if !defined(M_XENIX) && !(defined(__GNUC__) && defined(sun))#    include <stddef.h>#  endif#  include <stdlib.h>   typedef size_t extent;   typedef void voidp;#else /* !MODERN */   typedef unsigned int extent;#  define void int   typedef char voidp;#endif /* ?MODERN *//* Get types and stat */#ifdef VMS#  include <types.h>#  include <stat.h>#else /* !VMS */#  include <sys/types.h>#  include <sys/stat.h>#endif /* ?VMS *//* Cheap fix for unlink on VMS */#ifdef VMS#  define unlink delete#endif /* VMS *//* For Pyramid */#ifdef pyr#  define strrchr rindex#  define ZMEM#endif /* pyr *//* File operations--use "b" for binary if allowed */#ifdef MODERN#  define FOPR "rb"#  define FOPM "r+b"#  define FOPW "w+b"#else /* !MODERN */#  define FOPR "r"#  define FOPM "r+"#  define FOPW "w+"#endif /* ?MODERN *//* Fine tuning */#ifndef MSDOS#   define BSZ 8192   /* Buffer size for files */#else /* !MSDOS */#   define BSZ 4096   /* Keep precious NEAR space */    /* BSZ can't be 8192 even for compact model because of 64K limitation     * in im_lmat.c. If you run out of memory when processing a large number     * files, use the compact model and reduce BSZ to 2048 here and in     * im_lm.asm.     */#endif /* ?MSDOS *//* end of tailor.h */#ifdef MODERN#  include <string.h>#else /* !MODERN */   voidp *malloc();   long atol();   char *strcpy();   char *strrchr();#endif /* ?MODERN *//* Library functions not in (most) header files */char *mktemp OF((char *));int unlink OF((char *));#ifdef MSDOS            /* Use binary mode for binary files */#  include <io.h>#  include <fcntl.h>#endif /* MSDOS */#define LNSZ 1025       /* size of line buffer */typedef unsigned long ulg;      /* 32-bit unsigned integer */typedef struct {        /* associates a CRC with a file */  FILE *f;              /* pointer to associated file stream */  ulg c;                /* CRC register */  ulg b;                /* four byte buffer */  int n;                /* buffer count */} cfile;/* Function prototypes */#ifdef MODERN   void err(int, char *);   cfile *chook(FILE *);   char *nopath(char *);   void newship(void);   void endship(int);   void newline(char *);   void ship(char *, FILE *);   void mkinv(void);   void decode(unsigned char *, cfile *);   void unship(char **, int, int);   void help(void);   void main(int, char **);#endif /* MODERN *//* Globals for ship() */char sname[9];          /* current ship file name */FILE *sfile;            /* current ship file */ulg slns;               /* number of lines written to ship file */ulg slmax;              /* maximum number of lines per ship file */int fast;               /* true for arithmetic coding, else base 85 */int mail;               /* true if mailing */char mpspc[9];          /* prealloced space for prefix */char *mprefix = mpspc;  /* identification for this mailing */char *mdest;            /* mail destination */char mname[10];         /* temporary file name if mailing */ulg ccnt;               /* count of bytes read or written */int noisy = 1;          /* false to inhibit informational messages *//* Errors */#define SE_ARG 1#define SE_FIND 2#define SE_NONE 3#define SE_PART 4#define SE_FORM 5#define SE_CONT 6#define SE_CRC 7#define SE_MAIL 8#define SE_OVER 9#define SE_FULL 10#define SE_MANY 11#define SE_MEM 12char *errors[] = {  /* 1 */ "invalid argument ",  /* 2 */ "could not find ",  /* 3 */ "no files received",  /* 4 */ "unfinished file ",  /* 5 */ "invalid ship format in ",  /* 6 */ "wrong sequence for ",  /* 7 */ "CRC check failed on ",  /* 8 */ "mail command failed: ",  /* 9 */ "attempted to overwrite ",  /* 10 */ "could not write to ",  /* 11 */ "too many output files!",  /* 12 */ "out of memory"};/* Set of 86 characters used for the base 85 digits (last one not used), and   the 86 character arithmetic coding.  Selected to be part of both the ASCII   printable characters, and the common EBCDIC printable characters whose

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲女人的天堂| 午夜视频一区二区| 欧美乱妇一区二区三区不卡视频| 久久国产精品色| 亚洲精品福利视频网站| 久久久久高清精品| 欧美二区三区91| 99r精品视频| 国产在线一区二区| 日韩电影在线观看电影| 亚洲日本电影在线| 精品福利av导航| 91精品福利在线一区二区三区| 国产成人在线免费| 精品亚洲免费视频| 日本欧美在线看| 亚洲图片欧美一区| 日韩伦理av电影| 中文久久乱码一区二区| 精品少妇一区二区三区视频免付费| 欧洲一区二区三区在线| 91在线小视频| 成人精品鲁一区一区二区| 国产在线精品国自产拍免费| 日本不卡的三区四区五区| 午夜精品福利在线| 亚洲地区一二三色| 亚洲综合一区二区三区| 伊人色综合久久天天人手人婷| 国产精品久久三| 国产精品久久久久久久久动漫| 国产亚洲欧美一级| 久久久777精品电影网影网| 精品国产区一区| 久久免费视频色| 国产偷国产偷精品高清尤物| 26uuu久久综合| 精品国产百合女同互慰| 精品国精品国产| 精品电影一区二区| 久久综合色婷婷| 久久久精品免费观看| 久久亚洲一级片| 国产日韩欧美一区二区三区综合| 久久综合一区二区| 中文字幕av一区二区三区免费看| 亚洲国产精品二十页| 国产精品久久久久久一区二区三区| 国产精品免费久久久久| 中文字幕一区二区三中文字幕| 亚洲欧洲日韩av| 伊人色综合久久天天| 亚洲一区二区三区四区在线观看 | 欧美在线播放高清精品| 日本福利一区二区| 欧美在线一二三| 日韩一区二区电影| 久久婷婷一区二区三区| 国产欧美精品国产国产专区| 国产精品成人网| 亚洲午夜久久久久久久久久久| 视频精品一区二区| 国产伦理精品不卡| 色综合久久九月婷婷色综合| 欧美日韩高清影院| 久久久不卡网国产精品一区| 国产精品区一区二区三| 亚洲精选视频在线| 日韩成人伦理电影在线观看| 国产精品一二三四五| 成人黄色免费短视频| 欧美日韩一级视频| 精品久久久久久久久久久久包黑料| 久久人人爽人人爽| 亚洲老司机在线| 免费不卡在线视频| 不卡欧美aaaaa| 制服丝袜中文字幕一区| 欧美国产日本韩| 亚洲福利视频三区| 国产成人免费在线观看不卡| 在线视频你懂得一区| 精品人在线二区三区| 亚洲精品高清在线| 国产一区激情在线| 91视视频在线观看入口直接观看www | 精品久久一区二区三区| 中文字幕+乱码+中文字幕一区| 午夜精品久久久久久久久久| 成人永久免费视频| 4438亚洲最大| 亚洲欧洲日产国码二区| 久久精品免费观看| 在线日韩av片| 国产欧美日本一区二区三区| 午夜精品123| 99国产精品99久久久久久| 精品99999| 香蕉影视欧美成人| 91麻豆成人久久精品二区三区| 精品日产卡一卡二卡麻豆| 亚洲成人三级小说| 91在线观看地址| 久久久久久97三级| 卡一卡二国产精品 | 国产在线播放一区三区四| 欧美日精品一区视频| 国产精品视频一二三| 久久精品国产**网站演员| 欧美亚洲愉拍一区二区| 亚洲欧美影音先锋| 国产成人亚洲综合色影视| 精品嫩草影院久久| 青青国产91久久久久久| 欧美人伦禁忌dvd放荡欲情| 亚洲视频图片小说| 不卡电影一区二区三区| 国产情人综合久久777777| 久99久精品视频免费观看| 欧美日本免费一区二区三区| 亚洲美女偷拍久久| www.视频一区| 国产亚洲自拍一区| 久久99精品视频| 欧美疯狂性受xxxxx喷水图片| 亚洲女爱视频在线| www.成人在线| 日本一区二区在线不卡| 国产另类ts人妖一区二区| 日韩久久久精品| 日本成人在线电影网| 91精品在线观看入口| 亚洲国产日韩a在线播放性色| 95精品视频在线| 国产精品进线69影院| 国产**成人网毛片九色| 欧美激情一区二区三区全黄| 国产精品1区二区.| 国产精品―色哟哟| 成人avav在线| 亚洲欧洲国产专区| 99久久国产综合精品麻豆| 国产精品免费观看视频| 成人免费看视频| 中文字幕在线观看一区| av一本久道久久综合久久鬼色| 国产三级精品视频| 懂色av一区二区三区免费观看| 久久久精品免费观看| 国产成人av一区二区三区在线 | 欧美岛国在线观看| 久久精品国产成人一区二区三区| 精品成人一区二区三区| 国产一区91精品张津瑜| 欧美精品一区二区精品网| 韩国中文字幕2020精品| 欧美极品另类videosde| 91视频一区二区三区| 中文字幕亚洲欧美在线不卡| 一本色道**综合亚洲精品蜜桃冫| 亚洲一区二区精品久久av| 4438x亚洲最大成人网| 国产一区二区三区av电影| 亚洲欧洲三级电影| 91超碰这里只有精品国产| 毛片一区二区三区| 中文字幕巨乱亚洲| 欧美午夜精品久久久久久孕妇 | 亚洲同性gay激情无套| 欧洲生活片亚洲生活在线观看| 日韩黄色免费电影| 久久久久久久国产精品影院| 成人av影院在线| 一区二区三区在线免费视频| 欧美日产国产精品| 国产精品香蕉一区二区三区| 亚洲免费在线播放| 欧美一级淫片007| 成人黄色网址在线观看| 三级成人在线视频| 欧美激情综合在线| 欧美日韩一区二区三区四区| 国产一区在线看| 一区二区三区久久久| 精品少妇一区二区三区日产乱码 | 亚洲午夜日本在线观看| 欧美一区二区三区小说| 成人精品一区二区三区四区| 日日欢夜夜爽一区| 亚洲人一二三区| 日韩一区二区精品| 91麻豆.com| 国产精品综合网| 亚洲国产精品一区二区www| 精品福利视频一区二区三区| 欧美午夜精品电影| gogo大胆日本视频一区| 看电视剧不卡顿的网站| 亚洲电影一区二区三区| 中文字幕亚洲欧美在线不卡|