/usr/share/gettext/intl
NameSizeModeActions
bindtextdom.c95530644editdlrm
config.charset230450755editdlrm
COPYING.LIB265450644editdlrm
dcgettext.c17470644editdlrm
dcigettext.c476010644editdlrm
dcngettext.c17800644editdlrm
dgettext.c17050644editdlrm
dngettext.c18220644editdlrm
eval-plural.h27360644editdlrm
explodename.c33400644editdlrm
export.h1570644editdlrm
finddomain.c59960644editdlrm
gettext.c18190644editdlrm
gettextP.h101860644editdlrm
gmo.h48530644editdlrm
hash-string.c15490644editdlrm
hash-string.h13140644editdlrm
intl-compat.c34550644editdlrm
intl-exports.c17740644editdlrm
l10nflist.c109000644editdlrm
langprefs.c127170644editdlrm
libgnuintl.in.h167920644editdlrm
libintl.rc16220644editdlrm
loadinfo.h51120644editdlrm
loadmsgcat.c345370644editdlrm
localcharset.c205200644editdlrm
localcharset.h13400644editdlrm
locale.alias30860644editdlrm
localealias.c106390644editdlrm
localename.c861430644editdlrm
lock.c267850644editdlrm
lock.h363160644editdlrm
log.c38550644editdlrm
Makefile.in251210644editdlrm
ngettext.c19070644editdlrm
os2compat.c28370644editdlrm
os2compat.h15050644editdlrm
osdep.c9880644editdlrm
plural-exp.c38810644editdlrm
plural-exp.h46450644editdlrm
plural.c532830644editdlrm
plural.y75160644editdlrm
printf-args.c65840644editdlrm
printf-args.h39760644editdlrm
printf-parse.c221930644editdlrm
printf-parse.h25940644editdlrm
printf.c103330644editdlrm
ref-add.sin10410644editdlrm
ref-del.sin9960644editdlrm
relocatable.c175050644editdlrm
relocatable.h31440644editdlrm
setlocale.c331140644editdlrm
textdomain.c38110644editdlrm
threadlib.c19360644editdlrm
tsearch.c214830644editdlrm
tsearch.h28120644editdlrm
vasnprintf.c2233330644editdlrm
vasnprintf.h28070644editdlrm
vasnwprintf.h16840644editdlrm
verify.h110190644editdlrm
VERSION420644editdlrm
version.c9350644editdlrm
wprintf-parse.h26430644editdlrm
xsize.c780644editdlrm
xsize.h36530644editdlrm
Edit: /usr/share/gettext/intl/threadlib.c (1936B)
/* Multithreading primitives. Copyright (C) 2005-2009, 2015-2016 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ /* Written by Bruno Haible , 2005. */ #include /* ========================================================================= */ #if USE_POSIX_THREADS /* Use the POSIX threads library. */ # include # include # if PTHREAD_IN_USE_DETECTION_HARD /* The function to be executed by a dummy thread. */ static void * dummy_thread_func (void *arg) { return arg; } int glthread_in_use (void) { static int tested; static int result; /* 1: linked with -lpthread, 0: only with libc */ if (!tested) { pthread_t thread; if (pthread_create (&thread, NULL, dummy_thread_func, NULL) != 0) /* Thread creation failed. */ result = 0; else { /* Thread creation works. */ void *retval; if (pthread_join (thread, &retval) != 0) abort (); result = 1; } tested = 1; } return result; } # endif #endif /* ========================================================================= */ /* This declaration is solely to ensure that after preprocessing this file is never empty. */ typedef int dummy;