Merge tag 'block-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / build / feature / test-gettid.c
blobef24e42d3f1b877d991cad5ab5d16050772a5a58
1 // SPDX-License-Identifier: GPL-2.0
2 // Copyright (C) 2019, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
3 #define _GNU_SOURCE
4 #include <unistd.h>
6 int main(void)
8 return gettid();
11 #undef _GNU_SOURCE