003 File Manager
Current Path:
/usr/src/contrib/diff/lib
usr
/
src
/
contrib
/
diff
/
lib
/
📁
..
📄
basename.c
(2.2 KB)
📄
c-stack.c
(8.08 KB)
📄
c-stack.h
(826 B)
📄
cmpbuf.c
(3.76 KB)
📄
cmpbuf.h
(907 B)
📄
dirname.h
(1.31 KB)
📄
error.c
(7.38 KB)
📄
error.h
(2.39 KB)
📄
exclude.c
(6.25 KB)
📄
exclude.h
(1.66 KB)
📄
exit.h
(1.03 KB)
📄
exitfail.c
(933 B)
📄
exitfail.h
(831 B)
📄
file-type.c
(1.96 KB)
📄
file-type.h
(3.39 KB)
📄
getopt.h
(5.93 KB)
📄
gettext.h
(2.95 KB)
📄
gnulib.mk
(1.82 KB)
📄
hard-locale.c
(1.93 KB)
📄
hard-locale.h
(902 B)
📄
inttostr.h
(1.49 KB)
📄
posixver.c
(1.5 KB)
📄
posixver.h
(27 B)
📄
prepargs.c
(2.71 KB)
📄
prepargs.h
(129 B)
📄
quotesys.c
(2.78 KB)
📄
quotesys.h
(237 B)
📄
setmode.h
(1 KB)
📄
strcase.h
(1.5 KB)
📄
strftime.c
(31.83 KB)
📄
strtoimax.c
(2.19 KB)
📄
strtoumax.c
(42 B)
📄
unlocked-io.h
(3.69 KB)
📄
version-etc.c
(5.58 KB)
📄
version-etc.h
(1.29 KB)
📄
xalloc.h
(3.51 KB)
📄
xmalloc.c
(6.39 KB)
📄
xstrtol.h
(2.68 KB)
Editing: gettext.h
/* Convenience header for conditional use of GNU <libintl.h>. Copyright (C) 1995-1998, 2000-2002 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. */ #ifndef _LIBGETTEXT_H #define _LIBGETTEXT_H 1 /* NLS can be disabled through the configure --disable-nls option. */ #if ENABLE_NLS /* Get declarations of GNU message catalog functions. */ # include <libintl.h> #else /* Solaris /usr/include/locale.h includes /usr/include/libintl.h, which chokes if dcgettext is defined as a macro. So include it now, to make later inclusions of <locale.h> a NOP. We don't include <libintl.h> as well because people using "gettext.h" will not include <libintl.h>, and also including <libintl.h> would fail on SunOS 4, whereas <locale.h> is OK. */ #if defined(__sun) # include <locale.h> #endif /* Disabled NLS. The casts to 'const char *' serve the purpose of producing warnings for invalid uses of the value returned from these functions. On pre-ANSI systems without 'const', the config.h file is supposed to contain "#define const". */ # define gettext(Msgid) ((const char *) (Msgid)) # define dgettext(Domainname, Msgid) ((const char *) (Msgid)) # define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid)) # define ngettext(Msgid1, Msgid2, N) \ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) # define dngettext(Domainname, Msgid1, Msgid2, N) \ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ ((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2)) # define textdomain(Domainname) ((const char *) (Domainname)) # define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname)) # define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset)) #endif /* A pseudo function call that serves as a marker for the automated extraction of messages, but does not call gettext(). The run-time translation is done at a different place in the code. The argument, String, should be a literal string. Concatenated strings and other string expressions won't work. The macro's expansion is not parenthesized, so that it is suitable as initializer for static 'char[]' or 'const char[]' variables. */ #define gettext_noop(String) String #endif /* _LIBGETTEXT_H */
Upload File
Create Folder