1 /* Check that odd cases of readlink work.
3 #cc: additional_flags=-DX="@exedir@"
11 int main (int argc
, char *argv
[])
13 /* We assume that "sim/testsuite" isn't renamed to anything that
14 together with "<builddir>/" is shorter than 7 characters. */
17 if (readlink("/proc/42/exe", buf
, sizeof (buf
)) != sizeof (buf
)
18 || strncmp (buf
, X
, sizeof (buf
)) != 0)
This page took 0.031275 seconds and 4 git commands to generate.