资源简介
自己做的MPEG2-TS分析工具。支持中英双语。可以用于学习MPEG2TS封转格式。工程使用VC2010和MFC开发完成。
代码片段和文件信息
/* Getopt for GNU.
NOTE: getopt is now part of the C library so if you don‘t know what
“Keep this file name-space clean“ means talk to roland@gnu.ai.mit.edu
before changing it!
Copyright (C) 1987 88 89 90 91 92 1993
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 675 Mass Ave Cambridge MA 02139 USA. */
#ifdef HAVE_CONFIG_H
#include “config.h“
#endif
#ifndef __STDC__
# ifndef const
# define const
# endif
#endif
/* This tells Alpha OSF/1 not to define a getopt prototype in . */
#ifndef _NO_PROTO
#define _NO_PROTO
#endif
#include
/* Comment out all this code if we are using the GNU C Library and are not
actually compiling the library itself. This code is part of the GNU C
Library but also included in many other GNU distributions. Compiling
and linking in this code is a waste when using the GNU C library
(especially if it is a shared library). Rather than having every GNU
program understand ‘configure --with-gnu-libc‘ and omit the object files
it is simpler to just do this in the source for each such file. */
#if defined (_LIBC) || !defined (__GNU_LIBRARY__) || !__MacOSX__
/* This needs to come after some library #include
to get __GNU_LIBRARY__ defined. */
#ifdef __GNU_LIBRARY__
/* Don‘t include stdlib.h for non-GNU C libraries because some of them
contain conflicting prototypes for getopt. */
#include
#endif /* GNU C library. */
/* If GETOPT_COMPAT is defined ‘+‘ as well as ‘--‘ can introduce a
long-named option. Because this is not POSIX.2 compliant it is
being phased out. */
/* #define GETOPT_COMPAT */
/* This version of ‘getopt‘ appears to the caller like standard Unix ‘getopt‘
but it behaves differently for the user since it allows the user
to intersperse the options with the other arguments.
As ‘getopt‘ works it permutes the elements of ARGV so that
when it is done all the options precede everything else. Thus
all application programs are extended to handle flexible argument order.
Setting the environment variable POSIXLY_CORRECT disables permutation.
Then the behavior is completely standard.
GNU application programs can use a third alternative mode in which
they can distinguish the relative order of options and
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-08-12 23:52 SpecialFTS\
文件 37 2014-01-13 12:12 SpecialFTS\.gitignore
文件 2857 2012-12-26 20:20 SpecialFTS\ac3.h
文件 887 2013-04-14 16:38 SpecialFTS\common.h
文件 1496856 2014-01-12 19:10 SpecialFTS\cuc_ieschool.ts
文件 23390 2002-01-14 11:15 SpecialFTS\getopt.c
文件 4660 2013-03-25 22:18 SpecialFTS\getopt.h
文件 1036 2014-01-10 16:39 SpecialFTS\h264.h
文件 3531 2014-01-10 16:39 SpecialFTS\mpls.cpp
文件 190 2012-12-26 20:20 SpecialFTS\mpls.h
文件 285 2014-07-07 16:28 SpecialFTS\ReadMe.txt
目录 0 2014-08-12 23:52 SpecialFTS\res\
文件 4276 2014-01-12 17:45 SpecialFTS\resource.h
文件 268856 2014-07-06 22:53 SpecialFTS\res\main_theme_ts.bmp
文件 268856 2014-07-06 22:53 SpecialFTS\res\main_theme_ts_en.bmp
文件 67777 2009-08-31 02:31 SpecialFTS\res\SpecialFTS.ico
文件 676 2013-04-14 14:58 SpecialFTS\res\SpecialFTS.rc2
文件 37013 2013-04-14 20:51 SpecialFTS\res\ts.ico
文件 9094 2013-04-14 20:53 SpecialFTS\res\ts_ico.png
文件 606668 2014-07-07 15:45 SpecialFTS\SpecialFTS.aps
文件 3094 2014-07-07 15:46 SpecialFTS\SpecialFTS.cpp
文件 696 2014-07-07 15:45 SpecialFTS\SpecialFTS.h
文件 39708 2014-07-06 23:07 SpecialFTS\SpecialFTS.rc
文件 886 2014-01-12 18:55 SpecialFTS\SpecialFTS.sln
文件 17920 2014-07-08 20:16 SpecialFTS\SpecialFTS.suo
文件 7179 2014-07-08 20:14 SpecialFTS\SpecialFTS.vcxproj
文件 3590 2014-01-12 17:21 SpecialFTS\SpecialFTS.vcxproj.filters
文件 143 2013-04-14 14:58 SpecialFTS\SpecialFTS.vcxproj.user
文件 13446 2014-07-08 20:13 SpecialFTS\SpecialFTSDlg.cpp
文件 1888 2014-07-07 15:45 SpecialFTS\SpecialFTSDlg.h
文件 143 2013-04-14 14:58 SpecialFTS\stdafx.cpp
............此处省略6个文件信息
评论
共有 条评论