ReactOS  0.4.14-dev-55-g2da92ac
stddef.h File Reference
#include <crtdefs.h>
#include <errno.h>
Include dependency graph for stddef.h:

Go to the source code of this file.

Macros

#define _threadid   (__threadid())
 
#define _STDDEF_H
 
#define _STDDEF_H_
 
#define _ANSI_STDDEF_H
 
#define __STDDEF_H__
 
#define _PTRDIFF_T
 
#define _T_PTRDIFF_
 
#define _T_PTRDIFF
 
#define __PTRDIFF_T
 
#define _PTRDIFF_T_
 
#define _BSD_PTRDIFF_T_
 
#define ___int_ptrdiff_t_h
 
#define _GCC_PTRDIFF_T
 
#define NULL   ((void*)0)
 
#define offsetof(TYPE, MEMBER)   ((size_t)&(((TYPE *)0)->MEMBER))
 

Functions

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

Macro Definition Documentation

◆ ___int_ptrdiff_t_h

#define ___int_ptrdiff_t_h

Definition at line 134 of file stddef.h.

◆ __PTRDIFF_T

#define __PTRDIFF_T

Definition at line 131 of file stddef.h.

◆ __STDDEF_H__

#define __STDDEF_H__

Definition at line 48 of file stddef.h.

◆ _ANSI_STDDEF_H

#define _ANSI_STDDEF_H

Definition at line 46 of file stddef.h.

◆ _BSD_PTRDIFF_T_

#define _BSD_PTRDIFF_T_

Definition at line 133 of file stddef.h.

◆ _GCC_PTRDIFF_T

#define _GCC_PTRDIFF_T

Definition at line 135 of file stddef.h.

◆ _PTRDIFF_T

#define _PTRDIFF_T

Definition at line 128 of file stddef.h.

◆ _PTRDIFF_T_

#define _PTRDIFF_T_

Definition at line 132 of file stddef.h.

◆ _STDDEF_H

#define _STDDEF_H

Definition at line 43 of file stddef.h.

◆ _STDDEF_H_

#define _STDDEF_H_

Definition at line 44 of file stddef.h.

◆ _T_PTRDIFF

#define _T_PTRDIFF

Definition at line 130 of file stddef.h.

◆ _T_PTRDIFF_

#define _T_PTRDIFF_

Definition at line 129 of file stddef.h.

◆ _threadid

#define _threadid   (__threadid())

Definition at line 19 of file stddef.h.

◆ NULL

#define NULL   ((void*)0)

Definition at line 373 of file stddef.h.

◆ offsetof

#define offsetof (   TYPE,
  MEMBER 
)    ((size_t)&(((TYPE *)0)->MEMBER))

Definition at line 383 of file stddef.h.

Function Documentation

◆ __threadhandle()

_CRTIMP uintptr_t __cdecl __threadhandle ( void  )

Definition at line 16 of file threadid.c.

17 {
18  return (uintptr_t)GetCurrentThread();
19 }
HANDLE WINAPI GetCurrentThread(VOID)
Definition: proc.c:1148
unsigned int uintptr_t
Definition: crtdefs.h:300

◆ __threadid()

_CRTIMP 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:458