summaryrefslogtreecommitdiff
path: root/src/sysdeps/trynsgetparent.c
blob: 393a9a7da2d06bd36a6bf65ba8cacbaf269e8b62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

#undef _POSIX_C_SOURCE
#undef _XOPEN_SOURCE

#include <sys/ioctl.h>
#include <linux/nsfs.h>

int main (void)
{
  return ioctl(0, NS_GET_PARENT) ;
}