Blog
Community
Development
Documentation
CNDP
22.08.0
Main Page
Related Pages
Data Structures
Data Structures
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Functions
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
x
Functions
_
c
d
e
f
g
h
i
j
k
l
m
n
p
s
t
u
v
x
Variables
Typedefs
a
b
c
h
i
j
l
m
o
p
s
t
u
v
Enumerations
Enumerator
_
a
c
d
e
j
m
p
r
s
t
u
Macros
_
a
c
d
e
h
i
j
k
l
m
o
p
r
t
u
v
x
Examples
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
cne_gettid.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: BSD-3-Clause
2
* Copyright (c) 2022 Intel Corporation
3
*/
4
5
#ifndef _CNE_GETTID_H_
6
#define _CNE_GETTID_H_
7
15
#ifdef __GLIBC_PREREQ
16
#if !__GLIBC_PREREQ(2, 30)
17
18
#include <sys/syscall.h>
19
20
#define gettid() syscall(SYS_gettid)
21
22
#endif
/* !__GLIBC_PREREQ(2, 30) */
23
#endif
/* __GLIBC_PREREQ */
24
#endif
/* _CNE_GETTID_H_ */
lib
include
cne_gettid.h
Generated by
1.9.1