ReactOS 0.4.16-dev-716-g2b2bdab
stddef.h File Reference
#include <corecrt.h>
Include dependency graph for stddef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _INC_STDDEF
 
#define offsetof(s, m)   __builtin_offsetof(s,m)
 
#define _threadid   (__threadid())
 

Functions

_ACRTIMP unsigned long __cdecl __threadid (void)
 
_ACRTIMP uintptr_t __cdecl __threadhandle (void)
 

Macro Definition Documentation

◆ _INC_STDDEF

#define _INC_STDDEF

Definition at line 10 of file stddef.h.

◆ _threadid

#define _threadid   (__threadid())

Definition at line 56 of file stddef.h.

◆ offsetof

#define offsetof (   s,
  m 
)    __builtin_offsetof(s,m)

Definition at line 52 of file stddef.h.

Function Documentation

◆ __threadhandle()

_ACRTIMP uintptr_t __cdecl __threadhandle ( void  )

Definition at line 16 of file threadid.c.

17{
19}
unsigned int uintptr_t
Definition: intrin.h:47
HANDLE WINAPI GetCurrentThread(void)
Definition: proc.c:1148

◆ __threadid()

_ACRTIMP unsigned long __cdecl __threadid ( void  )

This file has no copyright assigned and is placed in the Public Domain. This file is part of the w64 mingw-runtime package. No warranty is given; refer to the file DISCLAIMER within this package.

Definition at line 8 of file threadid.c.

9{
10 return GetCurrentThreadId();
11}
DWORD WINAPI GetCurrentThreadId(void)
Definition: thread.c:459