91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 2.03MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-09-29
  • 語言: 其他
  • 標(biāo)簽: Linux,??diff??

資源簡介

Diff 是 Linux 下用于文件比較的工具,使用起來比較方便,該資源是開發(fā)diff工具的源碼。

資源截圖

代碼片段和文件信息

/*?-*-?buffer-read-only:?t?-*-?vi:?set?ro:?*/
/*?DO?NOT?EDIT!?GENERATED?AUTOMATICALLY!?*/
/*?argmatch.c?--?find?a?match?for?a?string?in?an?array

???Copyright?(C)?1990?1998?1999?2001?2002?2003?2004?2005?2006?2007
???2009?2010?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?3?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?see?.??*/

/*?Written?by?David?MacKenzie?
???Modified?by?Akim?Demaille??*/

#include?

/*?Specification.??*/
#include?“argmatch.h“

#include?
#include?
#include?
#include?

#include?“gettext.h“
#define?_(msgid)?gettext?(msgid)

#include?“error.h“
#include?“quotearg.h“
#include?“quote.h“

#if?USE_UNLOCKED_IO
#?include?“unlocked-io.h“
#endif

/*?When?reporting?an?invalid?argument?show?nonprinting?characters
???by?using?the?quoting?style?ARGMATCH_QUOTING_style.??Do?not?use
???literal_quoting_style.??*/
#ifndef?ARGMATCH_QUOTING_style
#?define?ARGMATCH_QUOTING_style?locale_quoting_style
#endif

/*?Non?failing?version?of?argmatch?call?this?function?after?failing.?*/
#ifndef?ARGMATCH_DIE
#?include?“exitfail.h“
#?define?ARGMATCH_DIE?exit?(exit_failure)
#endif

#ifdef?ARGMATCH_DIE_DECL
ARGMATCH_DIE_DECL;
#endif

static?void
__argmatch_die?(void)
{
??ARGMATCH_DIE;
}

/*?Used?by?XARGMATCH?and?XARGCASEMATCH.??See?description?in?argmatch.h.
???Default?to?__argmatch_die?but?allow?caller?to?change?this?at?run-time.?*/
argmatch_exit_fn?argmatch_die?=?__argmatch_die;


/*?If?ARG?is?an?unambiguous?match?for?an?element?of?the
???NULL-terminated?array?ARGLIST?return?the?index?in?ARGLIST
???of?the?matched?element?else?-1?if?it?does?not?match?any?element
???or?-2?if?it?is?ambiguous?(is?a?prefix?of?more?than?one?element).

???If?VALLIST?is?none?null?use?it?to?resolve?ambiguities?limited?to
???synonyms?i.e.?for
?????“yes“?“yop“?->?0
?????“no“?“nope“?->?1
???“y“?is?a?valid?argument?for?‘0‘?and?“n“?for?‘1‘.??*/

ptrdiff_t
argmatch?(const?char?*arg?const?char?*const?*arglist
??????????const?char?*vallist?size_t?valsize)
{
??size_t?i;?????????????????????/*?Temporary?index?in?ARGLIST.??*/
??size_t?arglen;????????????????/*?Length?of?ARG.??*/
??ptrdiff_t?matchind?=?-1;??????/*?Index?of?first?nonexact?match.??*/
??bool?ambiguous?=?false;???????/*?If?true?multiple?nonexact?match(es).??*/

??arglen?=?strlen?(arg);

??/*?Test?all?elements?for?either?exact?match?or?abbreviated?matches.??*/

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????5782??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\configure.ac

?????文件???????5711??2010-04-16?03:53??diffutils-3.0\diffutils-3.0\man\diff.1

?????文件???????1247??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\man\Makefile.am

?????文件??????39050??2010-05-04?00:43??diffutils-3.0\diffutils-3.0\man\Makefile.in

?????文件???????2090??2010-04-15?21:52??diffutils-3.0\diffutils-3.0\man\cmp.1

?????文件???????2198??2010-04-15?21:52??diffutils-3.0\diffutils-3.0\man\diff3.1

?????文件???????2645??2010-04-15?21:52??diffutils-3.0\diffutils-3.0\man\sdiff.1

?????文件???????3055??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\exgettext

?????文件??????11623??2010-05-04?00:49??diffutils-3.0\diffutils-3.0\NEWS

?????文件??????15584??2010-04-15?21:40??diffutils-3.0\diffutils-3.0\INSTALL

?????文件???????1624??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\tests\function-line-vs-leading-space

?????文件??????????0??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\tests\t-local.sh

?????文件???????1958??2010-04-17?14:15??diffutils-3.0\diffutils-3.0\tests\Makefile.am

?????文件????????379??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\tests\stdin

?????文件??????11179??2010-05-03?14:53??diffutils-3.0\diffutils-3.0\tests\init.sh

?????文件???????1025??2010-04-17?14:18??diffutils-3.0\diffutils-3.0\tests\no-newline-at-eof

?????文件????????467??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\tests\label-vs-func

?????文件??????46547??2010-05-04?00:43??diffutils-3.0\diffutils-3.0\tests\Makefile.in

?????文件????????553??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\tests\basic

?????文件????????369??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\tests\binary

?????文件???????8116??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\tests\help-version

?????文件?????161667??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\ChangeLog-2008

?????文件???????1555??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\Makefile.am

?????文件??????14058??2010-04-16?03:53??diffutils-3.0\diffutils-3.0\src\context.c

?????文件??????27486??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\src\sdiff.c

?????文件???????7872??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\src\dir.c

?????文件??????19739??2010-04-16?03:53??diffutils-3.0\diffutils-3.0\src\util.c

?????文件??????19981??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\src\analyze.c

?????文件??????18999??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\src\cmp.c

?????文件???????1645??2010-04-15?20:58??diffutils-3.0\diffutils-3.0\src\Makefile.am

............此處省略634個文件信息

評論

共有 條評論