/usr/lib/gcc-cross/arm-linux-gnueabihf/4.8/include/d/std/c/string.d is in libphobos-4.8-dev-armhf-cross 4.8.5-4ubuntu1cross2.
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 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | /**
* C's <string.h>
* Authors: Walter Bright, Digital Mars, http://www.digitalmars.com
* License: Public Domain
* Macros:
* WIKI=Phobos/StdCString
*/
module std.c.string;
public import core.stdc.string;
extern (C):
version (Windows)
{
int memicmp(in char* s1, in char* s2, size_t n);
}
version (linux)
{
const(char)* strerror_r(int errnum, char* buf, size_t buflen);
}
version (OSX)
{
int strerror_r(int errnum, char* buf, size_t buflen);
}
version (FreeBSD)
{
int strerror_r(int errnum, char* buf, size_t buflen);
}
|