kernel_samsung_a34x-permissive/tools/build/feature/test-gettid.c

12 lines
213 B
C
Raw Permalink Normal View History

// SPDX-License-Identifier: GPL-2.0
// Copyright (C) 2019, Red Hat Inc, Arnaldo Carvalho de Melo <acme@redhat.com>
#define _GNU_SOURCE
#include <unistd.h>
int main(void)
{
return gettid();
}
#undef _GNU_SOURCE