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

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

?? getusershell.c

?? Linux下文件工具。
?? C
字號:
/* getusershell.c -- Return names of valid user shells.   Copyright (C) 1991, 1997, 2000, 2001 Free Software Foundation, Inc.   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, 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  *//* Written by David MacKenzie <djm@gnu.ai.mit.edu> */#ifdef HAVE_CONFIG_H# include <config.h>#endif#ifndef SHELLS_FILE# ifndef __DJGPP__/* File containing a list of nonrestricted shells, one per line. */#  define SHELLS_FILE "/etc/shells"# else/* This is a horrible kludge.  Isn't there a better way?  */#  define SHELLS_FILE "/dev/env/DJDIR/etc/shells"# endif#endif#include <stdio.h>#if HAVE_STDLIB_H# include <stdlib.h>#endif#include <ctype.h>#include "unlocked-io.h"#include "xalloc.h"#if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII))# define IN_CTYPE_DOMAIN(c) 1#else# define IN_CTYPE_DOMAIN(c) isascii(c)#endif#define ISSPACE(c) (IN_CTYPE_DOMAIN (c) && isspace (c))static int readname ();#if ! defined ADDITIONAL_DEFAULT_SHELLS && defined __MSDOS__# define ADDITIONAL_DEFAULT_SHELLS \  "c:/dos/command.com", "c:/windows/command.com", "c:/command.com",#else# define ADDITIONAL_DEFAULT_SHELLS /* empty */#endif/* List of shells to use if the shells file is missing. */static char const* const default_shells[] ={  ADDITIONAL_DEFAULT_SHELLS  "/bin/sh", "/bin/csh", "/usr/bin/sh", "/usr/bin/csh", NULL};/* Index of the next shell in `default_shells' to return.   0 means we are not using `default_shells'. */static int default_index = 0;/* Input stream from the shells file. */static FILE *shellstream = NULL;/* Line of input from the shells file. */static char *line = NULL;/* Number of bytes allocated for `line'. */static int line_size = 0;/* Return an entry from the shells file, ignoring comment lines.   If the file doesn't exist, use the list in DEFAULT_SHELLS (above).   In any case, the returned string is in memory allocated through malloc.   Return NULL if there are no more entries.  */char *getusershell (){  if (default_index > 0)    {      if (default_shells[default_index])	/* Not at the end of the list yet.  */	return xstrdup (default_shells[default_index++]);      return NULL;    }  if (shellstream == NULL)    {      shellstream = fopen (SHELLS_FILE, "r");      if (shellstream == NULL)	{	  /* No shells file.  Use the default list.  */	  default_index = 1;	  return xstrdup (default_shells[0]);	}    }  while (readname (&line, &line_size, shellstream))    {      if (*line != '#')	return line;    }  return NULL;			/* End of file. */}/* Rewind the shells file. */voidsetusershell (){  default_index = 0;  if (shellstream)    rewind (shellstream);}/* Close the shells file. */voidendusershell (){  if (shellstream)    {      fclose (shellstream);      shellstream = NULL;    }}/* Read a line from STREAM, removing any newline at the end.   Place the result in *NAME, which is malloc'd   and/or realloc'd as necessary and can start out NULL,   and whose size is passed and returned in *SIZE.   Return the number of characters placed in *NAME   if some nonempty sequence was found, otherwise 0.  */static intreadname (name, size, stream)     char **name;     int *size;     FILE *stream;{  int c;  int name_index = 0;  if (*name == NULL)    {      *size = 10;      *name = (char *) xmalloc (*size);    }  /* Skip blank space.  */  while ((c = getc (stream)) != EOF && ISSPACE (c))    /* Do nothing. */ ;  while (c != EOF && !ISSPACE (c))    {      (*name)[name_index++] = c;      while (name_index >= *size)	{	  *size *= 2;	  *name = (char *) xrealloc (*name, *size);	}      c = getc (stream);    }  (*name)[name_index] = '\0';  return name_index;}#ifdef TESTmain (){  char *s;  while (s = getusershell ())    puts (s);  exit (0);}#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产欧美精品一区aⅴ影院| 成人精品高清在线| 亚洲综合无码一区二区| 国产日韩精品一区二区浪潮av| 精品日产卡一卡二卡麻豆| 欧美一级在线视频| 91精品国产aⅴ一区二区| 欧美人xxxx| 91精品欧美久久久久久动漫| 91精品国产一区二区人妖| 欧美日韩一区二区在线观看| 欧美色倩网站大全免费| 欧美精品久久久久久久多人混战| 欧美日韩一区精品| 欧美一区二区三区性视频| 日韩你懂的在线观看| 欧美zozozo| 国产精品嫩草99a| 中文字幕字幕中文在线中不卡视频| 亚洲欧美一区二区三区孕妇| 亚洲综合精品久久| 日本午夜一区二区| 激情图片小说一区| 99久久国产综合精品女不卡| 日本精品裸体写真集在线观看| 欧美区一区二区三区| 日韩欧美一区二区三区在线| 中文字幕精品一区| 一区二区三国产精华液| 男人操女人的视频在线观看欧美| 国产乱码一区二区三区| 一本到三区不卡视频| 在线91免费看| 国产精品午夜春色av| 一区二区三区四区蜜桃| 麻豆成人久久精品二区三区小说| 成人性视频免费网站| 欧洲一区二区三区免费视频| 欧美zozo另类异族| 亚洲影院在线观看| 精品一区二区三区久久久| 色偷偷久久人人79超碰人人澡| 日韩视频123| 亚洲人成网站在线| 国产麻豆午夜三级精品| 欧洲人成人精品| 欧美精品一区二区精品网| 亚洲卡通动漫在线| 国产一区二区美女诱惑| 欧美日韩精品三区| 国产精品人成在线观看免费| 免费在线成人网| 在线观看欧美黄色| 国产精品色哟哟| 国产一区二三区| 欧美一区二区三区白人| 亚洲卡通动漫在线| 本田岬高潮一区二区三区| 欧美精品日韩一区| 亚洲免费在线观看| 成人精品免费网站| 欧美精品一区二区三区四区| 日韩影院精彩在线| 色94色欧美sute亚洲线路二| 中文字幕av一区二区三区高| 免费成人在线观看视频| 欧美年轻男男videosbes| 亚洲日韩欧美一区二区在线| 国产一区二区调教| 精品国产露脸精彩对白| 日本欧洲一区二区| 日韩美女在线视频| 极品美女销魂一区二区三区免费| 欧美日韩另类国产亚洲欧美一级| 一级女性全黄久久生活片免费| 99久久99久久免费精品蜜臀| 国产欧美一区二区精品忘忧草| 国产激情偷乱视频一区二区三区| 久久综合精品国产一区二区三区| 蜜臀av亚洲一区中文字幕| 91精品国产综合久久福利软件| 视频一区免费在线观看| 欧美一区二区三区免费观看视频 | 成人的网站免费观看| 久久丝袜美腿综合| 国产91在线看| 亚洲欧美另类在线| 欧美三级资源在线| 日本成人超碰在线观看| 精品国产百合女同互慰| 精品一区二区在线免费观看| 2020国产精品| 99久久夜色精品国产网站| 亚洲女性喷水在线观看一区| 欧美午夜理伦三级在线观看| 日韩影院精彩在线| 久久久91精品国产一区二区三区| 成人美女在线观看| 亚洲免费观看高清完整版在线观看熊| 一本大道av一区二区在线播放| 亚洲无线码一区二区三区| 欧美成人bangbros| 成人性生交大片免费看中文网站| 亚洲欧美日韩中文播放| 欧美日韩一本到| 国模娜娜一区二区三区| 亚洲乱码国产乱码精品精小说 | 国产成人精品网址| 尤物av一区二区| 精品少妇一区二区三区视频免付费 | 中文字幕一区二区在线播放| 欧美日韩一区成人| 国产精品88888| 26uuu亚洲综合色| 99久久综合色| 欧美性色综合网| 日本免费在线视频不卡一不卡二| 一本色道**综合亚洲精品蜜桃冫| 视频一区在线播放| 日韩毛片精品高清免费| 91麻豆精品国产91久久久久久久久| 国产成人自拍在线| 日韩激情视频网站| 亚洲女同一区二区| 国产欧美日韩亚州综合| 91精品国产欧美一区二区成人| 成人av网站在线| 国产呦萝稀缺另类资源| 午夜精品久久久久久久| 中文字幕一区二区三区不卡在线| 精品国产伦一区二区三区免费| 欧美专区在线观看一区| 99久久亚洲一区二区三区青草| 精品一区二区三区欧美| 日本一道高清亚洲日美韩| 亚洲一区二区在线观看视频 | 成人久久视频在线观看| 亚洲视频免费观看| 色综合色狠狠综合色| 精品免费一区二区三区| 国产一区二区三区av电影| 午夜av电影一区| 一区二区三区四区激情 | 国产一区二区剧情av在线| 午夜精品福利视频网站| 亚洲久草在线视频| 综合激情网...| 亚洲色图在线播放| 国产欧美1区2区3区| 久久久久九九视频| 久久久精品2019中文字幕之3| 欧美va天堂va视频va在线| 欧美日本一区二区三区四区| 精品视频一区 二区 三区| 日韩激情中文字幕| 亚洲免费观看高清完整版在线观看 | 欧美一区二区三区电影| 欧美另类变人与禽xxxxx| 欧美另类z0zxhd电影| 538prom精品视频线放| 91麻豆精品国产自产在线观看一区| 欧美日韩中字一区| 宅男噜噜噜66一区二区66| 日韩视频免费观看高清完整版在线观看| 欧美精品1区2区| 日韩欧美国产电影| 国产视频一区在线观看| 国产精品看片你懂得| 亚洲欧美另类小说视频| 亚洲电影中文字幕在线观看| 日韩电影在线观看电影| 国产原创一区二区| 成人午夜电影久久影院| 欧洲国内综合视频| 日韩一区二区三区在线观看| 久久久国产一区二区三区四区小说 | 成人a级免费电影| 在线一区二区三区四区五区| 51久久夜色精品国产麻豆| 国产亚洲精品bt天堂精选| 亚洲人精品一区| 免费观看一级欧美片| 国产mv日韩mv欧美| 精品视频在线免费看| 日韩一区二区三区免费看| 久久久91精品国产一区二区精品 | 久久久国际精品| 一区二区三区国产豹纹内裤在线| 日本网站在线观看一区二区三区| 国产精品亚洲专一区二区三区| 色先锋资源久久综合| 日韩欧美一区二区免费| 亚洲日穴在线视频| 久久国产尿小便嘘嘘| 一本色道久久综合狠狠躁的推荐 | 久草热8精品视频在线观看| 91丨九色丨蝌蚪富婆spa| 91精品国产欧美一区二区18| 日韩美女视频一区二区| 加勒比av一区二区|