ReactOS 0.4.16-dev-2104-gb84fa49
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 offsetof(s, m)   (size_t)&(((s*)NULL)->m)
 
#define _threadid   (__threadid())
 

Typedefs

typedef double max_align_t
 

Functions

_ACRTIMP __msvcrt_ulong __cdecl __threadid (void)
 
_ACRTIMP __msvcrt_ulong __cdecl __threadhandle (void)
 

Macro Definition Documentation

◆ _threadid

#define _threadid   (__threadid())

Definition at line 39 of file stddef.h.

◆ offsetof

#define offsetof (   s,
  m 
)    (size_t)&(((s*)NULL)->m)

Definition at line 28 of file stddef.h.

Typedef Documentation

◆ max_align_t

Definition at line 31 of file stddef.h.

Function Documentation

◆ __threadhandle()

_ACRTIMP __msvcrt_ulong __cdecl __threadhandle ( void  )

Definition at line 16 of file threadid.c.

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

◆ __threadid()

_ACRTIMP __msvcrt_ulong __cdecl __threadid ( void  )

Definition at line 8 of file threadid.c.

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