Text-Markdown-Discount
view release on metacpan or search on metacpan
discount-2.2.7d/cmake/CMakeLists.txt view on Meta::CPAN
include(CheckSymbolExists)
foreach(_symbol
bzero
strcasecmp _stricmp
strncasecmp _strnicmp)
string(TOUPPER ${_symbol} _SYMBOL)
check_symbol_exists(${_symbol} string.h HAVE_${_SYMBOL})
endforeach()
check_symbol_exists(random stdlib.h HAVE_RANDOM)
check_symbol_exists(srandom stdlib.h HAVE_SRANDOM)
check_symbol_exists(getpwuid pwd.h HAVE_GETPWUID)
check_symbol_exists(basename libgen.h HAVE_BASENAME)
check_symbol_exists(fchdir unistd.h HAVE_FCHDIR)
if(HAVE_STAT)
check_symbol_exists(S_ISCHR sys/stat.h HAVE_S_ISCHR)
check_symbol_exists(S_ISFIFO sys/stat.h HAVE_S_ISFIFO)
check_symbol_exists(S_ISSOCK sys/stat.h HAVE_S_ISSOCK)
endif()
if(NOT HAVE_BZERO)
set(DEFINE_BZERO "#define bzero(p, n) memset(p, 0, n)")
discount-2.2.7d/configure.sh view on Meta::CPAN
AC_SUB MK_PKGCONFIG '#'
fi
AC_C_VOLATILE
AC_C_CONST
AC_C_INLINE
AC_SCALAR_TYPES sub hdr
AC_CHECK_BASENAME
AC_CHECK_ALLOCA
AC_CHECK_HEADERS sys/types.h pwd.h && AC_CHECK_FUNCS getpwuid
if AC_CHECK_HEADERS sys/stat.h && AC_CHECK_FUNCS stat; then
# need to check some of the S_ISxxx stat macros, because they may not
# exist (for notspecial.c)
cat > ngc$$.c << EOF
#include <sys/stat.h>
main(argc, argv)
char **argv;
discount-2.2.7d/theme.c view on Meta::CPAN
if ( !pagename )
pagename = source;
if ( (doc = mkd_in(stdin, 0)) == 0 )
fail("can't read %s", source ? source : "stdin");
if ( fstat(fileno(stdin), &sourceinfo) == 0 )
infop = &sourceinfo;
#if HAVE_GETPWUID
me = getpwuid(infop ? infop->st_uid : getuid());
if ( (root = strdup(me->pw_dir)) == 0 )
fail("out of memory");
#endif
if ( !mkd_compile(doc, flags) )
fail("couldn't compile input");
if ( tmplfile )
spin(tmplfile,doc,stdout);
lib/Text/Markdown/ppport.h view on Meta::CPAN
GETPROTOENT_R_PROTO|5.008000|5.008000|Vn
getpwent|5.009000||Viu
GETPWENT_R_HAS_BUFFER|5.008000||Viu
GETPWENT_R_HAS_FPTR|5.008000||Viu
GETPWENT_R_HAS_PTR|5.008000||Viu
GETPWENT_R_PROTO|5.008000|5.008000|Vn
getpwnam|5.009000||Viu
GETPWNAM_R_HAS_BUFFER|5.008000||Viu
GETPWNAM_R_HAS_PTR|5.008000||Viu
GETPWNAM_R_PROTO|5.008000|5.008000|Vn
getpwuid|5.009000||Viu
GETPWUID_R_HAS_PTR|5.008000||Viu
GETPWUID_R_PROTO|5.008000|5.008000|Vn
get_quantifier_value|5.033006||Viu
get_re_arg|||xciu
get_re_gclass_nonbitmap_data|5.031011||Viu
get_regclass_nonbitmap_data|5.031011||Viu
get_regex_charset_name|5.031004||Vniu
getservbyname|5.005000||Viu
GETSERVBYNAME_R_HAS_BUFFER|5.008000||Viu
GETSERVBYNAME_R_HAS_PTR|5.008000||Viu
lib/Text/Markdown/ppport.h view on Meta::CPAN
KEY_getnetent|5.003007||Viu
KEY_getpeername|5.003007||Viu
KEY_getpgrp|5.003007||Viu
KEY_getppid|5.003007||Viu
KEY_getpriority|5.003007||Viu
KEY_getprotobyname|5.003007||Viu
KEY_getprotobynumber|5.003007||Viu
KEY_getprotoent|5.003007||Viu
KEY_getpwent|5.003007||Viu
KEY_getpwnam|5.003007||Viu
KEY_getpwuid|5.003007||Viu
KEY_getservbyname|5.003007||Viu
KEY_getservbyport|5.003007||Viu
KEY_getservent|5.003007||Viu
KEY_getsockname|5.003007||Viu
KEY_getsockopt|5.003007||Viu
KEY_getspnam|5.031011||Viu
KEY_given|5.009003||Viu
KEY_glob|5.003007||Viu
KEY_gmtime|5.003007||Viu
KEY_goto|5.003007||Viu
( run in 0.322 second using v1.01-cache-2.11-cpan-8d75d55dd25 )