File: getdtablesize.cpp

package info (click to toggle)
vdr-plugin-markad 4.2.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,084 kB
  • sloc: cpp: 22,441; python: 613; makefile: 270; sh: 95
file content (11 lines) | stat: -rw-r--r-- 301 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
#include "getdtablesize.h"
#include "include_first.h"
#include <stdio.h>

/* not the same, but okay for here.
 * _getmaxstdio() returns a number that represents the number of simultaneously
 * open files currently permitted at the stdio level.
 */
int getdtablesize(void) {
  return _getmaxstdio();
}