Sha256: 6e74fe6768bf4b78ad8283bd7a72cefe129154c2fc0bf2c787aa176becb0d850
Contents?: true
Size: 390 Bytes
Versions: 9
Compression:
Stored size: 390 Bytes
Contents
// // string_dup.h // // Copyright (c) 2014 Stephen Mathieson // MIT licensed // #ifndef HAVE_STRINGDUP #define HAVE_STRINGDUP /** * Drop-in replacement for string_dup(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 * string_dup(const char *str); #endif /* HAVE_STRINGDUP */
Version data entries
9 entries across 9 versions & 1 rubygems