repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git]
/
tools
/
build
/
feature
/
test-gettid.c
blob
ef24e42d3f1b877d991cad5ab5d16050772a5a58
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