/usr/include/sc/util/misc/string.h is in libsc-dev 2.3.1-16build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #ifndef _util_misc_string_h
#define _util_misc_string_h
#include <string.h>
#include <stdlib.h>
namespace sc {
inline char *
strdup (const char *string)
{
return string ? strcpy ((char *) malloc (strlen (string) + 1), string) : 0;
}
}
#endif
|