ReactOS  0.4.13-dev-92-gf251225
rpc_dtablesize.c File Reference
#include <wintirpc.h>
Include dependency graph for rpc_dtablesize.c:

Go to the source code of this file.

Functions

int _rpc_dtablesize (void)
 

Function Documentation

◆ _rpc_dtablesize()

int _rpc_dtablesize ( void  )

Definition at line 48 of file rpc_dtablesize.c.

49 {
50 #ifdef _WIN32
51  return FD_SETSIZE;
52 #else
53  static int size;
54 
55  if (size == 0) {
56  size = getdtablesize();
57  if (size > FD_SETSIZE)
58  size = FD_SETSIZE;
59  }
60  return (size);
61 #endif
62 }
#define FD_SETSIZE
Definition: winsock.h:50
GLsizeiptr size
Definition: glext.h:5919

Referenced by __rpc_get_time_offset(), and rtime().