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

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

?? ef_expand_file.3

?? BCAST Implementation for NS2
?? 3
字號:
.\" Copyright (C) 2000, 2001 by Martin C. Shepherd.\" .\" All rights reserved..\" .\" Permission is hereby granted, free of charge, to any person obtaining a.\" copy of this software and associated documentation files (the.\" "Software"), to deal in the Software without restriction, including.\" without limitation the rights to use, copy, modify, merge, publish,.\" distribute, and/or sell copies of the Software, and to permit persons.\" to whom the Software is furnished to do so, provided that the above.\" copyright notice(s) and this permission notice appear in all copies of.\" the Software and that both the above copyright notice(s) and this.\" permission notice appear in supporting documentation..\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS.\" OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\" OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR.\" HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL.\" INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING.\" FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,.\" NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE..\" .\" Except as contained in this notice, the name of a copyright holder.\" shall not be used in advertising or otherwise to promote the sale, use.\" or other dealings in this Software without prior written authorization.\" of the copyright holder..TH ef_expand_file 3.SH NAMEef_expand_file, del_ExpandFile, ef_last_error, ef_list_expansions, new_ExpandFile \- expand filenames containing ~user/$envvar and wildcard expressions.SH SYNOPSIS.nf#include <libtecla.h>ExpandFile *new_ExpandFile(void);ExpandFile *del_ExpandFile(ExpandFile *ef);FileExpansion *ef_expand_file(ExpandFile *ef,                              const char *path,                              int pathlen);int ef_list_expansions(FileExpansion *result, FILE *fp,                       int term_width);const char *ef_last_error(ExpandFile *ef);.fi.SH DESCRIPTIONThe \f3ef_expand_file()\f1 function is part of the tecla library(see the libtecla(3) man page). It expands a specified filename,converting \f3~user/\f1 and \f3~/\f1 expressions at the start of thefilename to the corresponding home directories, replacing\f3$envvar\f1 with the value of the corresponding environmentvariable, and then, if there are any wildcards, matching these againstexisting filenames. Backslashes in the input filename are interpretedas escaping any special meanings of the characters that follow them.Only backslahes that are themselves preceded by backslashes arepreserved in the expanded filename..spIn the presence of wildcards, the returned list of filenames onlyincludes the names of existing files which match thewildcards. Otherwise, the original filename is returned afterexpansion of tilde and dollar expressions, and the result is notchecked against existing files. This mimics the file-globbing behaviorof the unix \f3tcsh\f1 shell..spThe supported wildcards and their meanings are:.nf  *        -  Match any sequence of zero or more characters.  ?        -  Match any single character.  [chars]  -  Match any single character that appears in              'chars'.  If 'chars' contains an expression of              the form a-b, then any character between a and              b, including a and b, matches. The '-'              character looses its special meaning as a              range specifier when it appears at the start              of the sequence of characters. The ']'              character also looses its significance as the              terminator of the range expression if it              appears immediately after the opening '[', at              which point it is treated one of the              characters of the range. If you want both '-'              and ']' to be part of the range, the '-'              should come first and the ']' second.                [^chars] -  The same as [chars] except that it matches any              single character that doesn't appear in              'chars'..fiNote that wildcards never match the initial dot in filenames thatstart with '.'. The initial '.' must be explicitly specified in thefilename. This again mimics the globbing behavior of most unix shells,and its rational is based in the fact that in unix, files with namesthat start with '.' are usually hidden configuration files, which arenot listed by default by the ls command..spThe following is a complete example of how to use the file expansionfunction..nf  #include <stdio.h>  #include <libtecla.h>  int main(int argc, char *argv[])  {    ExpandFile *ef;      /* The expansion resource object */    char *filename;      /* The filename being expanded */    FileExpansion *expn; /* The results of the expansion */    int i;    ef = new_ExpandFile();    if(!ef)      return 1;    for(arg = *(argv++); arg; arg = *(argv++)) {      if((expn = ef_expand_file(ef, arg, -1)) == NULL) {        fprintf(stderr, "Error expanding %s (%s).\\n", arg,                         ef_last_error(ef));      } else {        printf("%s matches the following files:\\n", arg);        for(i=0; i<expn->nfile; i++)          printf(" %s\\n", expn->files[i]);      }    }    ef = del_ExpandFile(ef);    return 0;  }.fi.spDescriptions of the functions used above are as follows:.sp.nf  ExpandFile *new_ExpandFile(void).fi.spThis function creates the resources used by the \f3ef_expand_file()\f1function. In particular, it maintains the memory that is used to record thearray of matching filenames that is returned by \f3ef_expand_file()\f1. Thisarray is expanded as needed, so there is no built in limit to the number offiles that can be matched..sp.nf  ExpandFile *del_ExpandFile(ExpandFile *ef).fi.spThis function deletes the resources that were returned by a previous call to\f3new_ExpandFile()\f1. It always returns \f3NULL\f1 (ie a deleted object). Itdoes nothing if the \f3ef\f1 argument is \f3NULL\f1..spA container of the following type is returned by \f3ef_expand_file()\f1..sp.nf  typedef struct {    int exists;   /* True if the files in files[] exist */    int nfile;    /* The number of files in files[] */    char **files; /* An array of 'nfile' filenames. */  } FileExpansion;.fi.sp.nf  FileExpansion *ef_expand_file(ExpandFile *ef,                                const char *path,                                int pathlen).fi.spThe \f3ef_expand_file()\f1 function performs filename expansion, as documentedat the start of this section. Its first argument is a resource object returnedby \f3new_ExpandFile()\f1. A pointer to the start of the filename to be matchedis passed via the \f3path\f1 argument. This must be a normal \f3NUL\f1terminated string, but unless a length of -1 is passed in \f3pathlen\f1, onlythe first \f3pathlen\f1 characters will be used in the filename expansion.  Ifthe length is specified as -1, the whole of the string will beexpanded..spThe function returns a pointer to a container who's contents are theresults of the expansion. If there were no wildcards in the filename,the \f3nfile\f1 member will be 1, and the \f3exists\f1 member shouldbe queried if it is important to know if the expanded file currentlyexists or not. If there were wildcards, then the contained\f3files[]\f1 array will contain the names of the \f3nfile\f1 existingfiles that matched the wildcarded filename, and the \f3exists\f1member will have the value 1. Note that the returned container belongsto the specified \f3ef\f1 object, and its contents will change on eachcall, so if you need to retain the results of more than one call to\f3ef_expand_file()\f1, you should either make a private copy of thereturned results, or create multiple file-expansion resource objectsvia multiple calls to \f3new_ExpandFile()\f1..spOn error, \f3NULL\f1 is returned, and an explanation of the error canbe determined by calling \f3ef_last_error(ef)\f1..sp.nf  const char *ef_last_error(ExpandFile *ef).fi.spThis function returns the message which describes the error thatoccurred on the last call to \f3ef_expand_file()\f1, for the given\f3(ExpandFile *ef)\f1 resource object..sp.nf  int ef_list_expansions(FileExpansion *result, FILE *fp,                         int terminal_width);.fi.spThe \f3ef_list_expansions()\f1 function provides a convenient way tolist the filename expansions returned by \f3ef_expand_file()\f1. Likethe unix \f3ls\f1 command, it arranges the filenames into equal widthcolumns, each column having the width of the largest file. The numberof columns used is thus determined by the length of the longestfilename, and the specified terminal width. Beware that filenames thatare longer than the specified terminal width are printed without beingtruncated, so output longer than the specified terminal width canoccur. The list is written to the stdio stream specified by the\f3fp\f1 argument..SH THREAD SAFETYIn multi-threaded programs, you should use the \f3libtecla_r.a\f1version of the library. This uses POSIX reentrant functions whereavailable (hence the \f3_r\f1 suffix), and disables features that relyon non-reentrant system functions. Currently there are no featuresdisabled in this module.Using the \f3libtecla_r.a\f1 version of the library, it is safe to usethe facilities of this module in multiple threads, provided that eachthread uses a separately allocated \f3ExpandFile\f1 object. In otherwords, if two threads want to do file expansion, they should each call\f3new_ExpandFile()\f1 to allocate their own file-expansion objects..SH FILES.nflibtecla.a    -    The tecla librarylibtecla.h    -    The tecla header file..fi.SH SEE ALSOlibtecla(3), gl_get_line(3), cpl_complete_word(3), pca_lookup_file(3)  .SH AUTHORMartin Shepherd  (mcs@astro.caltech.edu)

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
337p亚洲精品色噜噜| 91精品国产乱码久久蜜臀| 久久国产精品免费| 婷婷开心激情综合| 天天色综合天天| 美国av一区二区| 激情文学综合丁香| 国产精品自产自拍| 国产不卡视频在线播放| 成人少妇影院yyyy| 91麻豆免费在线观看| 在线观看亚洲精品| 欧美一区三区二区| 国产午夜精品理论片a级大结局| 国产亚洲欧美在线| 国产精品美女久久久久久久久久久| 国产精品久久久久久久久图文区| 亚洲日本电影在线| 水蜜桃久久夜色精品一区的特点| 午夜电影一区二区| 国产成人一级电影| 色噜噜久久综合| 69堂成人精品免费视频| 久久夜色精品国产噜噜av| 国产精品久久久久久妇女6080| 亚洲卡通欧美制服中文| 午夜激情一区二区三区| 国产精品小仙女| 日本韩国精品在线| 亚洲精品在线电影| 亚洲黄色片在线观看| 日韩精品乱码av一区二区| 国产精品18久久久久久vr| 在线观看国产91| 久久美女艺术照精彩视频福利播放 | 一区二区在线观看免费 | 日韩午夜在线播放| 国产精品青草久久| 秋霞成人午夜伦在线观看| 国产成人鲁色资源国产91色综| 色婷婷久久综合| 欧美精品一区二区不卡| 亚洲一区av在线| 国产91对白在线观看九色| 欧美视频一区二区三区四区| 久久久不卡网国产精品一区| 天堂av在线一区| www.99精品| 欧美精品一区二区三区蜜臀| 亚洲成人资源在线| 不卡av在线免费观看| 欧美精品一区二区久久婷婷| 亚洲国产综合人成综合网站| 国产精品亚洲午夜一区二区三区| 欧美精品欧美精品系列| 亚洲综合一区二区三区| 白白色 亚洲乱淫| 国产亚洲污的网站| 国产麻豆成人精品| 精品免费日韩av| 日本美女一区二区| 欧美伦理影视网| 天堂久久久久va久久久久| 欧洲精品在线观看| 亚洲乱码一区二区三区在线观看| 成人av午夜影院| 久久久国产一区二区三区四区小说| 日本sm残虐另类| 91精品国产色综合久久不卡电影 | 精品久久久久久无| 麻豆一区二区99久久久久| 欧美日韩国产高清一区二区三区| 亚洲另类在线一区| 色乱码一区二区三区88 | 欧美卡1卡2卡| 亚洲国产一区二区三区| 欧美日韩三级一区| 午夜成人免费视频| 制服丝袜中文字幕一区| 青青青伊人色综合久久| 日韩你懂的在线播放| 久久91精品国产91久久小草| 欧美成人一区二区| 国产伦精一区二区三区| 国产欧美一二三区| 91丨porny丨国产入口| 亚洲视频电影在线| 欧美精品一二三| 免费观看在线色综合| 日韩欧美成人一区| 成人夜色视频网站在线观看| 国产精品久久三| 欧美日韩免费观看一区三区| 青青草国产成人av片免费| 欧美成人午夜电影| a级高清视频欧美日韩| 亚洲综合激情网| 日韩视频一区在线观看| 国产精品1区2区3区| 一区二区三区日韩精品视频| 欧美一区二区三级| 成人深夜在线观看| 亚洲国产一区二区在线播放| 精品国产网站在线观看| 91亚洲精品一区二区乱码| 亚洲成a天堂v人片| 欧美国产视频在线| 欧美欧美欧美欧美首页| 成人午夜av在线| 五月天久久比比资源色| 久久久久久97三级| 欧美理论在线播放| 成人av在线电影| 男人的j进女人的j一区| 日韩一区在线免费观看| 欧美成人一区二区| 在线免费观看成人短视频| 国产在线播放一区二区三区| 亚洲国产毛片aaaaa无费看 | 欧美理论在线播放| www.成人网.com| 韩日欧美一区二区三区| 亚洲国产人成综合网站| 国产精品伦理一区二区| 日韩久久久久久| 在线免费观看不卡av| 春色校园综合激情亚洲| 日韩高清不卡一区| 一区二区三区不卡视频| 国产人成亚洲第一网站在线播放 | 风间由美性色一区二区三区| 亚洲成人免费在线观看| 亚洲日本在线a| 国产精品美日韩| 国产清纯美女被跳蛋高潮一区二区久久w | 亚洲成人自拍偷拍| 亚洲人精品午夜| 国产精品久久免费看| 久久久99久久精品欧美| 日韩欧美的一区二区| 欧美精品一卡二卡| 6080午夜不卡| 欧美日韩国产电影| 欧美日韩国产免费一区二区| 欧美系列亚洲系列| 91蝌蚪porny| 一道本成人在线| 色综合久久久久久久久| 92精品国产成人观看免费| 99国产欧美另类久久久精品| www.欧美色图| av电影在线不卡| 色综合久久精品| 欧美日韩视频在线观看一区二区三区| 91国产精品成人| 欧美人与禽zozo性伦| 欧美一区二区在线不卡| 日韩写真欧美这视频| 精品国产亚洲在线| 中文字幕乱码一区二区免费| 中文字幕第一区二区| 亚洲色图视频网| 亚洲电影第三页| 日本网站在线观看一区二区三区 | 亚洲欧美色一区| 一区二区三区日韩欧美精品| 玉米视频成人免费看| 亚洲一区二区三区中文字幕在线| 一个色在线综合| 免费人成网站在线观看欧美高清| 美国十次综合导航| 国产999精品久久久久久绿帽| 成人sese在线| 欧美精品一二三四| 久久久噜噜噜久久中文字幕色伊伊 | 91精品久久久久久久久99蜜臂| 日韩你懂的电影在线观看| 国产亚洲污的网站| 一区二区三区**美女毛片| 日韩av在线免费观看不卡| 国产高清成人在线| 欧美日韩在线不卡| 国产女主播一区| 日韩精品成人一区二区在线| 国产在线视频一区二区三区| 91在线国产福利| 91精品免费在线观看| 国产精品福利电影一区二区三区四区| 亚洲综合男人的天堂| 国内精品免费**视频| 在线观看国产精品网站| 亚洲精品一区二区在线观看| 亚洲欧美日韩国产综合在线 | 国产一区999| 欧美日韩在线免费视频| 国产午夜精品理论片a级大结局| 亚洲一区二区欧美| 成人黄页毛片网站| 精品伦理精品一区| 丝袜美腿亚洲色图|