We do our best to keep copyright headers up to date, yet git history provides better information on this subject and is more accurate than copyright headers.
20 lines
326 B
C
20 lines
326 B
C
/*
|
|
* Copyright (c) 2017-2018 The strace developers.
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "tests.h"
|
|
#include <stdio.h>
|
|
#include <unistd.h>
|
|
#include <asm/unistd.h>
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
printf("gettid() = %ld\n", syscall(__NR_gettid));
|
|
puts("+++ exited with 0 +++");
|
|
return 0;
|
|
}
|