Sha256: 3090db21b7c99cb167eff90592b6b1d06ddd0bfdd5fbf8a78a5e61629a65ed4b
Contents?: true
Size: 448 Bytes
Versions: 2
Compression:
Stored size: 448 Bytes
Contents
// // strdup.h // // Copyright (c) 2014 Stephen Mathieson // MIT licensed // #ifndef _WIN32 #ifndef SKIP_STRDUP #ifndef HAVE_STRDUP #define HAVE_STRDUP /** * Drop-in replacement for strdup(3) from libc. * * Creates a copy of `str`. Free when done. * * Returns a pointer to the newly allocated * copy of `str`, or `NULL` on failure. */ char * strdup(const char *str); #endif /* HAVE_STRDUP */ #else #define strdup _strdup #endif #endif
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mathematical-1.6.2 | ext/mathematical/mtex2MML/deps/strdup/strdup.h |
mathematical-1.6.1 | ext/mathematical/mtex2MML/deps/strdup/strdup.h |