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

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

?? oc.c

?? 7號信令功能代碼,為開源代碼
?? C
字號:
/***************************************************************************** @(#) oc.c,v LiS-2_16_18-8(1.1.1.1.8.1) 2004/01/12 23:33:16 ----------------------------------------------------------------------------- Copyright (c) 2003-2004  OpenSS7 Corporation <http://www.openss7.com> All Rights Reserved. This program 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 of the License, or (at your option) any later version. This program 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 this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ----------------------------------------------------------------------------- U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software on behalf of the U.S. Government ("Government"), the following provisions apply to you.  If the Software is supplied by the Department of Defense ("DoD"), it is classified as "Commercial Computer Software" under paragraph 252.227-7014 of the DoD Supplement to the Federal Acquisition Regulations ("DFARS") (or any successor regulations) and the Government is acquiring only the license rights granted herein (the license rights customarily provided to non-Government users).  If the Software is supplied to any unit or agency of the Government other than DoD, it is classified as "Restricted Computer Software" and the Government's rights in the Software are defined in paragraph 52.227-19 of the Federal Acquisition Regulations ("FAR") (or any success regulations) or, in the cases of NASA, in paragraph 18.52.227-86 of the NASA Supplement to the FAR (or any successor regulations). ----------------------------------------------------------------------------- Commercial licensing and support of this software is available from OpenSS7 Corporation at a fee.  See http://www.openss7.com/ ----------------------------------------------------------------------------- Last Modified 2004/01/12 23:33:16 by brian ----------------------------------------------------------------------------- oc.c,v Revision 1.1.1.1.8.1  2004/01/12 23:33:16  brian - Updated LiS-2.16.18 gcom release to autoconf. *****************************************************************************/#ident "@(#) oc.c,v LiS-2_16_18-8(1.1.1.1.8.1) 2004/01/12 23:33:16"static char const ident[] = "oc.c,v LiS-2_16_18-8(1.1.1.1.8.1) 2004/01/12 23:33:16";/*  *  oc.c - open/<default>close testing of files.  Given a list of paths, *         this program simply opens them an optional number of times each, *         then waits an optional number of seconds before exiting. *  *         This program also supports receiving passed file descriptors. * *  Copyright (C) 2000  John A. Boyd Jr.  protologos, LLC * *  This library is free software; you can redistribute it and/or *  modify it under the terms of the GNU Library General Public *  License as published by the Free Software Foundation; either *  version 2 of the License, or (at your option) any later version. *  *  This library 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 *  Library General Public License for more details. *  *  You should have received a copy of the GNU Library General Public *  License along with this library; if not, write to the *  Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge, *  MA 02139, USA. */#ident "@(#) LiS oc.c 1.1 12/15/00"#include <unistd.h>#include <stdlib.h>#include <stdio.h>#include <string.h>#include <memory.h>#include <fcntl.h>#include <poll.h>#ifdef _GNU_SOURCE#include <getopt.h>#endif				/* _GNU_SOURCE */#include <stropts.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/sysmacros.h>#include <sys/ioctl.h>#include <errno.h>int verbose = 1;void version(int argc, char *argv[]){	if (!verbose)		return;	fprintf(stdout, "\%1$s %2$s:\n\    Copyright (c) 2003-2004  OpenSS7 Corporation.  All Rights Reserved.\n\    Copyright (c) 2000       John A. Boyd Jr.  protologos, LLC\n\\n\    Distributed by OpenSS7 Corporation under GPL Version 2,\n\    included here by reference.\n\", argv[0], ident);}void usage(int argc, char *argv[]){	if (!verbose)		return;	fprintf(stderr, "\Usage:\n\    %1$s [options] PATH ...\n\    %1$s {-h,--help}\n\    %1$s {-V,--version}\n\", argv[0]);}void help(int argc, char *argv[]){	if (!verbose)		return;	fprintf(stdout, "\Usage:\n\    %1$s [options] PATH ...\n\    %1$s {-h,--help}\n\    %1$s {-V,--version}\n\Arguments:\n\    PATH ...\n\        The path or paths to STREAMS devices open (and close).\n\Options:\n\    -n, --number NUMBER\n\        Set the number of iterations\n\    -w, --wait WAIT\n\        Set the close wait in milliseconds [default: 0]\n\    -r, --recvfd RECVFD\n\        Set the receive file descriptor\n\    -W, --wronly\n\        Open write only\n\    -R, --rdonly\n\        Open read only\n\    -B, --nonblock\n\        Open for non-blocking operation\n\    -v, --verbose [LEVEL]\n\        Increase verbosity or set to LEVEL [default: 1]\n\        This option may be repeated.\n\    -q, --quiet\n\        Suppress normal output (equivalent to --verbose=0)\n\    -h, --help, -?, --?\n\        Print this usage message and exits\n\    -V, --version\n\        Print the version and exits\n\", argv[0]);}int main(int argc, char *argv[]){	char path[40];	int fd, i, n = 1;	struct stat stat;	int wt = 0;	int o_flags, o_wronly = 0, o_rdonly = 0, o_nonblock = 0;	int is_stream = 0, recv_fd = 0;	int p0;	for (;;) {		int c;#ifdef _GNU_SOURCE		int option_index = 0;		static struct option long_options[] = {			{"number", 1, 0, 'n'},			{"wait", 1, 0, 'w'},			{"recvfd", 0, 0, 'r'},			{"wronly", 1, 0, 'W'},			{"rdonly", 0, 0, 'R'},			{"nonblock", 0, 0, 'B'},			{"quiet", 0, 0, 'q'},			{"verbose", 2, 0, 'v'},			{"help", 0, 0, 'h'},			{"version", 0, 0, 'V'},			{"?", 0, 0, 'h'},		};		c = getopt_long_only(argc, argv, "n:w:rWRBqv::hV?", long_options, &option_index);#else				/* _GNU_SOURCE */		c = getopt(argc, argv, "n:w:rWRBqv::hV?");#endif				/* _GNU_SOURCE */		if (c == -1)			break;		switch (c) {		case 'n':	/* -n, --number */			n = strtol(optarg, NULL, 0);			break;		case 'w':	/* -w, --wait */			wt = strtol(optarg, NULL, 0);			break;		case 'r':	/* -r, --recvfd */			recv_fd = 1;			break;		case 'W':	/* -W, --wronly */			o_wronly = 1;			o_rdonly = 0;			break;		case 'R':	/* -R, --rdonly */			o_rdonly = 1;			o_wronly = 0;			break;		case 'B':	/* -B, --nonblock */			o_nonblock = 1;			break;		case 'q':	/* -q, --quiet */			verbose = 0;			break;		case 'v':	/* -v, --verbose [LEVEL] */			if (!optarg)				verbose++;			else				verbose = strtol(optarg, NULL, 0);			break;		case 'h':	/* -h, --help, -?, --? */			help(argc, argv);			exit(0);		case 'V':	/* -V, --version */			version(argc, argv);			exit(0);		case '?':		default:			optind--;			if (optind < argc && verbose) {				fprintf(stderr, "%s: illegal syntax -- ", argv[0]);				for (; optind < argc; optind++)					fprintf(stderr, "%s ", argv[optind]);				fprintf(stderr, "\n");			}			usage(argc, argv);			exit(2);		}	}	o_flags =	    (o_wronly ? O_WRONLY : (o_rdonly ? O_RDONLY : O_RDWR)) | (o_nonblock ? O_NONBLOCK : 0);	if (n <= 1)		n = 1;	for (i = 0; i < n; i++) {		p0 = optind;		while (argc > p0) {			strcpy(path, argv[p0++]);			if ((fd = open(path, o_flags)) < 0) {				fprintf(stderr, "open( \"%s\", 0%o ) failed: %s (%d)\n",					path, o_flags, strerror(errno), errno);				exit(1);			}			if (verbose) {				fstat(fd, &stat);				printf("%d: fd %d = open( \"%s\", 0%o ) "				       "mode 0%o dev 0x%04x rdev 0x%04x",				       i, fd, path, o_flags, (int) (stat.st_mode),				       (int) (stat.st_dev), (int) (stat.st_rdev));				is_stream = isastream(fd);				printf("%s", (is_stream ? " [STREAM]" : ""));				printf("\n");				fflush(stdout);			}			if (is_stream && recv_fd) {				struct pollfd pfd;				struct strrecvfd recv;				/* 				 *  FIXME: poll wt*1000 for input, and if OK try to				 *  ioctl( I_RECVFD ).  If OK, report the received				 *  file via stat.				 */				pfd.fd = fd;				pfd.events = POLLIN;				if (wt && !poll(&pfd, 1, wt * 1000)) {					/* 					 *  poll timed out					 */					if (verbose)						fprintf(stderr,							"poll(..., %dms) timed out waiting for RECVFD\n",							wt * 1000);				} else {					if (ioctl(fd, I_RECVFD, &recv) < 0) {						if (verbose)							fprintf(stderr,								"ioctl(%d, I_RECVFD,...) failed: %s\n",								fd, strerror(errno));					} else {						if (verbose) {							fstat(recv.fd, &stat);							printf("%d: fd %d = received"							       " (mode 0%o dev 0x%04x rdev 0x%04x)",							       i, recv.fd, (int) (stat.st_mode),							       (int) (stat.st_dev),							       (int) (stat.st_rdev));							printf("%s",							       (isastream(recv.fd) ? " [STREAM]" :								""));							printf("\n");							fflush(stdout);						}					}				}			}		}	}	if (wt > 0) {		while (wt--) {			if (verbose)				fprintf(stderr, ".");			sleep(1);		}		if (verbose)			fprintf(stderr, "!\n");	}	exit(0);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一本色道综合亚洲| 成人国产精品免费| 国产成人综合精品三级| 色综合久久中文综合久久97| 日韩亚洲欧美高清| 亚洲欧洲色图综合| 国内外精品视频| 欧美日韩黄色影视| 中文字幕 久热精品 视频在线| 偷拍一区二区三区四区| 色综合久久天天| 久久久三级国产网站| 同产精品九九九| 色婷婷精品大在线视频| 久久精品人人爽人人爽| 日本不卡的三区四区五区| 91黄色免费网站| 国产精品美女www爽爽爽| 国产真实乱偷精品视频免| 欧美丰满一区二区免费视频| 国产精品国产成人国产三级| 国产精品综合在线视频| 精品毛片乱码1区2区3区| 五月天亚洲精品| 欧美日韩免费高清一区色橹橹 | 日韩精品中文字幕在线一区| 夜夜爽夜夜爽精品视频| 91小宝寻花一区二区三区| 欧美激情综合五月色丁香小说| 美女性感视频久久| 51精品久久久久久久蜜臀| 性感美女久久精品| 欧美写真视频网站| 艳妇臀荡乳欲伦亚洲一区| 色综合天天性综合| 亚洲高清在线视频| 欧美日韩在线一区二区| 亚洲国产一区视频| 欧美日韩一区二区三区高清| 午夜影院久久久| 4438成人网| 久久精品国产一区二区三区免费看| 欧美一区二区久久久| 蜜桃av一区二区在线观看| 国产精品灌醉下药二区| aaa欧美大片| ●精品国产综合乱码久久久久| 91一区一区三区| 亚洲一区二区三区中文字幕在线| 欧美视频在线播放| 三级欧美韩日大片在线看| 日韩欧美国产综合| 国产精品小仙女| 日韩美女视频一区二区| 欧美在线观看一区二区| 日本系列欧美系列| 久久午夜老司机| 99久久精品国产导航| 亚洲第一会所有码转帖| 日韩免费一区二区| 成人综合激情网| 亚洲乱码中文字幕| 91精品国产综合久久久久久| 激情文学综合丁香| 亚洲人成电影网站色mp4| 欧美麻豆精品久久久久久| 六月丁香综合在线视频| 中文字幕乱码一区二区免费| 色婷婷综合在线| 久久av资源站| 国产精品成人一区二区三区夜夜夜| 欧美日韩综合不卡| 国产高清不卡一区二区| 亚洲一区二区三区四区中文字幕| 一区二区三区中文免费| 日韩一区二区在线观看视频播放| 国产suv精品一区二区883| 午夜免费欧美电影| 国产肉丝袜一区二区| 欧美日韩中文国产| 成人综合婷婷国产精品久久蜜臀| 亚洲成人动漫av| 国产精品色一区二区三区| 欧美一区二区三区在线看| 不卡一卡二卡三乱码免费网站| 婷婷成人综合网| 亚洲欧美日韩国产成人精品影院| 日韩女优视频免费观看| 在线观看亚洲成人| 成人亚洲一区二区一| 免费在线看一区| 亚洲综合色网站| 国产精品久久久久桃色tv| 日韩一级黄色片| 在线观看亚洲一区| aaa亚洲精品| 丁香五精品蜜臀久久久久99网站 | 欧美一级国产精品| 一本大道综合伊人精品热热 | 亚洲va国产天堂va久久en| 中文字幕在线视频一区| 2020国产精品自拍| 欧美一级生活片| 精品视频在线免费看| 成人黄色一级视频| 欧美一级精品在线| 在线播放国产精品二区一二区四区 | 99免费精品视频| 国模冰冰炮一区二区| 奇米精品一区二区三区四区| 亚洲高清三级视频| 亚洲另类在线视频| 亚洲欧洲制服丝袜| 亚洲美女区一区| 亚洲色大成网站www久久九九| 国产欧美日韩亚州综合 | 国产91精品久久久久久久网曝门 | 精品一二线国产| 免费日韩伦理电影| 免费人成网站在线观看欧美高清| 亚洲chinese男男1069| 亚洲va中文字幕| 亚洲成人免费视| 午夜精品免费在线观看| 成人av在线网| 成人中文字幕电影| 成av人片一区二区| 色婷婷综合久久久久中文一区二区| 91丨九色丨黑人外教| 91麻豆免费在线观看| 91黄色小视频| 91精品久久久久久久久99蜜臂| 91精品国产免费| 亚洲精品一区二区三区精华液| 久久久久久毛片| 国产精品动漫网站| 亚洲综合视频在线观看| 人人爽香蕉精品| 国产主播一区二区| www.激情成人| 欧美羞羞免费网站| 欧美一级高清片| 中文一区二区在线观看| 亚洲欧美日韩精品久久久久| 亚洲一区二区三区影院| 老司机精品视频在线| 国产福利精品导航| 色呦呦一区二区三区| 欧美一区国产二区| 国产精品麻豆久久久| 亚洲小少妇裸体bbw| 国产真实乱对白精彩久久| a4yy欧美一区二区三区| 欧美一区二区三区视频在线| 久久精品视频网| 一区二区三区日韩欧美| 狠狠色狠狠色综合日日91app| 99精品国产99久久久久久白柏| 欧美另类高清zo欧美| 国产色综合久久| 天天操天天色综合| 成人福利在线看| 51精品久久久久久久蜜臀| 国产女人aaa级久久久级 | 成人综合在线观看| 7777精品伊人久久久大香线蕉| 国产亚洲精品7777| 日韩综合一区二区| 一本色道久久综合亚洲91| 精品日韩在线一区| 亚洲成av人片一区二区梦乃| 国产成人精品1024| 日韩一区二区电影在线| 亚洲精品菠萝久久久久久久| 国产伦精品一区二区三区免费迷 | 99免费精品在线观看| 精品久久一区二区三区| 亚洲国产日韩一区二区| av不卡在线观看| 久久这里只有精品首页| 日韩电影一二三区| 欧洲日韩一区二区三区| 国产精品蜜臀av| 国产91精品免费| 日韩精品专区在线| 日本中文字幕不卡| 在线观看91视频| 亚洲精品亚洲人成人网在线播放| 国产成人精品免费一区二区| 久久免费看少妇高潮| 青草国产精品久久久久久| 欧美欧美欧美欧美首页| 亚洲自拍偷拍欧美| 日本韩国精品一区二区在线观看| 欧美高清在线视频| 成人性生交大片免费看视频在线 | 精品国精品国产尤物美女| 免费在线观看一区二区三区| 欧美夫妻性生活| 日本成人在线不卡视频|