projects
/
platform
/
kernel
/
linux-starfive.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge tag 'block-6.1-2022-12-08' of git://git.kernel.dk/linux
[platform/kernel/linux-starfive.git]
/
tools
/
build
/
feature
/
test-gettid.c
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>
5
6
int main(void)
7
{
8
return gettid();
9
}
10
11
#undef _GNU_SOURCE